Discussion:
Default character encoding
Richmond
2017-07-23 17:16:50 UTC
Permalink
Is it possible to make Gnus default to Windows-1252 (or iso-8859-?) when
no character set is specified in headers of news articles?

I searched but only found the concept of washing, which replaces “ when
encoded as octal 224 with `` for example. W Y f. A very useful function
anyway.
Emanuel Berg
2017-07-23 17:36:27 UTC
Permalink
Post by Richmond
I searched but only found the concept of
washing, which replaces “ when encoded as
octal 224 with `` for example. W Y f. A very
useful function anyway.
_______________________________________________
info-gnus-english mailing list
https://lists.gnu.org/mailman/listinfo/info-gnus-english
As you seem to be so concerned with the
appearance of articles, how about reading
section 4.3 in RFC 3676? :)

http://www.ietf.org/rfc/rfc3676.txt
--
underground experts united
http://user.it.uu.se/~embe8573
Richmond
2017-07-23 17:52:22 UTC
Permalink
Post by Emanuel Berg
As you seem to be so concerned with the
appearance of articles, how about reading
section 4.3 in RFC 3676? :)
http://www.ietf.org/rfc/rfc3676.txt
OK my lawyer and I read the document. I think I get what you are
saying. :)
--
This signature is entended purely to provide a signature.
Emanuel Berg
2017-07-23 18:47:17 UTC
Permalink
Post by Richmond
This signature is entended purely to provide
a signature.
This reply is for display purposes ONLY.
--
underground experts united
http://user.it.uu.se/~embe8573
Byung-Hee HWANG (황병희, 黃炳熙)
2017-07-24 11:33:02 UTC
Permalink
Post by Richmond
Is it possible to make Gnus default to Windows-1252 (or iso-8859-?) when
no character set is specified in headers of news articles?
How about this: in ~/.emacs

#+BEGIN_SRC emacs-lisp
(prefer-coding-system 'utf-8)
#+END_SRC

Then Gnus display on UTF-8, always!!!
--
^고맙습니다 _地平天成_ 감사합니다_^))//
Richmond
2017-07-24 12:23:47 UTC
Permalink
Post by Byung-Hee HWANG (황병희, 黃炳熙)
How about this: in ~/.emacs
#+BEGIN_SRC emacs-lisp
(prefer-coding-system 'utf-8)
#+END_SRC
Then Gnus display on UTF-8, always!!!
Thanks. I've, um, slightly adapted that for my needs. :)
--
~
Teemu Likonen
2017-07-24 04:44:55 UTC
Permalink
Post by Richmond
Is it possible to make Gnus default to Windows-1252 (or iso-8859-?)
when no character set is specified in headers of news articles?
Yes. See variables gnus-default-charset and gnus-group-charset-alist.
For example:

(setq gnus-default-charset 'windows-1252)
--
/// Teemu Likonen - .-.. <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
Richmond
2017-07-24 15:04:37 UTC
Permalink
Post by Teemu Likonen
Post by Richmond
Is it possible to make Gnus default to Windows-1252 (or iso-8859-?)
when no character set is specified in headers of news articles?
Yes. See variables gnus-default-charset and gnus-group-charset-alist.
(setq gnus-default-charset 'windows-1252)
Thanks, that's an even better solution I think.
--
~
Emanuel Berg
2017-07-24 16:50:38 UTC
Permalink
Post by Richmond
Post by Richmond
Is it possible to make Gnus default to
Windows-1252 (or iso-8859-?) when no
character set is specified in headers of
news articles? Yes. See variables
gnus-default-charset and
gnus-group-charset-alist. For example: (setq
gnus-default-charset 'windows-1252)
Thanks, that's an even better solution
I think.
I have:

(setq mm-body-charset-encoding-alist '((utf-8 . 8bit)))

This is getting confusing...

And: How can you tell what encoding is in
effect in an article?
--
underground experts united
http://user.it.uu.se/~embe8573
Loading...