Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Default character encoding
@ 2017-07-23 17:16 Richmond
  2017-07-23 17:36 ` Emanuel Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Richmond @ 2017-07-23 17:16 UTC (permalink / raw)
  To: info-gnus-english

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.


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-23 17:16 Default character encoding Richmond
@ 2017-07-23 17:36 ` Emanuel Berg
  2017-07-23 17:52   ` Richmond
  2017-07-24  4:44 ` Teemu Likonen
  2017-07-24 11:33 ` Byung-Hee HWANG (황병희, 黃炳熙)
  2 siblings, 1 reply; 13+ messages in thread
From: Emanuel Berg @ 2017-07-23 17:36 UTC (permalink / raw)
  To: info-gnus-english

Richmond wrote:

> 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
> info-gnus-english@gnu.org
> 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


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-23 17:36 ` Emanuel Berg
@ 2017-07-23 17:52   ` Richmond
  2017-07-23 18:47     ` Emanuel Berg
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2017-07-23 17:52 UTC (permalink / raw)
  To: info-gnus-english

Emanuel Berg <moasen@zoho.com> writes:

>
> 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.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-23 17:52   ` Richmond
@ 2017-07-23 18:47     ` Emanuel Berg
  0 siblings, 0 replies; 13+ messages in thread
From: Emanuel Berg @ 2017-07-23 18:47 UTC (permalink / raw)
  To: info-gnus-english

Richmond wrote:

> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-23 17:16 Default character encoding Richmond
  2017-07-23 17:36 ` Emanuel Berg
@ 2017-07-24  4:44 ` Teemu Likonen
  2017-07-24 15:04   ` Richmond
  2017-07-24 11:33 ` Byung-Hee HWANG (황병희, 黃炳熙)
  2 siblings, 1 reply; 13+ messages in thread
From: Teemu Likonen @ 2017-07-24  4:44 UTC (permalink / raw)
  To: Richmond; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 451 bytes --]

Richmond [2017-07-23 18:16:50+01] wrote:

> 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 ///

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-23 17:16 Default character encoding Richmond
  2017-07-23 17:36 ` Emanuel Berg
  2017-07-24  4:44 ` Teemu Likonen
@ 2017-07-24 11:33 ` Byung-Hee HWANG (황병희, 黃炳熙)
  2017-07-24 12:23   ` Richmond
  2 siblings, 1 reply; 13+ messages in thread
From: Byung-Hee HWANG (황병희, 黃炳熙) @ 2017-07-24 11:33 UTC (permalink / raw)
  To: info-gnus-english

Richmond <p1299721@protonmail.com> 께서 쓰시길,
 《記事 全文 <86d18rt6nx.fsf@example.com> 에서》:

> 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!!!

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-24 11:33 ` Byung-Hee HWANG (황병희, 黃炳熙)
@ 2017-07-24 12:23   ` Richmond
  0 siblings, 0 replies; 13+ messages in thread
From: Richmond @ 2017-07-24 12:23 UTC (permalink / raw)
  To: info-gnus-english

soyeomul@doraji.xyz (Byung-Hee HWANG "(황병희, 黃炳熙)") writes:

>
> 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. :)

-- 
~


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-24  4:44 ` Teemu Likonen
@ 2017-07-24 15:04   ` Richmond
  2017-07-24 16:50     ` Emanuel Berg
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2017-07-24 15:04 UTC (permalink / raw)
  To: info-gnus-english

Teemu Likonen <tlikonen@iki.fi> writes:

> Richmond [2017-07-23 18:16:50+01] wrote:
>
>> 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.

-- 
~



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-24 15:04   ` Richmond
@ 2017-07-24 16:50     ` Emanuel Berg
  2017-07-28 16:30       ` Richmond
  0 siblings, 1 reply; 13+ messages in thread
From: Emanuel Berg @ 2017-07-24 16:50 UTC (permalink / raw)
  To: info-gnus-english

Richmond wrote:

>> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-24 16:50     ` Emanuel Berg
@ 2017-07-28 16:30       ` Richmond
  2017-07-30  1:09         ` Emanuel Berg
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2017-07-28 16:30 UTC (permalink / raw)
  To: info-gnus-english

Emanuel Berg <moasen@zoho.com> writes:

>
> And: How can you tell what encoding is in
> effect in an article?

I think you can use C-U C-X =

Put the curser over a character in the article whose encoding you would
like to know. If you are using gmane (or maybe even if you are not) try
it on these:

𐅻
“


-- 
~


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-28 16:30       ` Richmond
@ 2017-07-30  1:09         ` Emanuel Berg
  2017-07-30 16:26           ` Richmond
  0 siblings, 1 reply; 13+ messages in thread
From: Emanuel Berg @ 2017-07-30  1:09 UTC (permalink / raw)
  To: info-gnus-english

Richmond wrote:

> I think you can use C-U C-X =

`C-x =' is `what-cursor-position' and with C-u
it brings up DETAILs instead of just a short
message in the echo area.

The information with C-u is identical to what
you get with `describe-char'.

> Put the curser over a character in the
> article whose encoding you would like to
> know. If you are using gmane (or maybe even
> if you are not) try it on these:
>
> 𐅻

The Linux VT can't display it other than as
a diamond but the encoding is utf-8-emacs.

> “

Displayable, utf-8-emacs.

-- 
underground experts united
http://user.it.uu.se/~embe8573


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-30  1:09         ` Emanuel Berg
@ 2017-07-30 16:26           ` Richmond
  2017-07-30 21:37             ` Emanuel Berg
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2017-07-30 16:26 UTC (permalink / raw)
  To: info-gnus-english

Emanuel Berg <moasen@zoho.com> writes:

> Richmond wrote:
>
>> I think you can use C-U C-X =
>
> `C-x =' is `what-cursor-position' and with C-u
> it brings up DETAILs instead of just a short
> message in the echo area.
>
> The information with C-u is identical to what
> you get with `describe-char'.
>
>> Put the curser over a character in the
>> article whose encoding you would like to
>> know. If you are using gmane (or maybe even
>> if you are not) try it on these:
>>
>> 𐅻
>
> The Linux VT can't display it other than as
> a diamond but the encoding is utf-8-emacs.
>
>> “
>
> Displayable, utf-8-emacs.

What's the linux VT? The virtual console? I am using xfce4-terminal and
that can display it with xos4-terminus font. I think you would have to
change the font on the console to one which supported unicode.

Well I guess it told you the encoding anyway, which is what you wanted
to know.

-- 
~


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Default character encoding
  2017-07-30 16:26           ` Richmond
@ 2017-07-30 21:37             ` Emanuel Berg
  0 siblings, 0 replies; 13+ messages in thread
From: Emanuel Berg @ 2017-07-30 21:37 UTC (permalink / raw)
  To: info-gnus-english

Richmond wrote:

> What's the linux VT? The virtual console?

The console = the Linux VTs = the
teletypewriters or ttys.

By default, you get to them from X with
Control Alt F1.

> I am using xfce4-terminal and that can
> display it with xos4-terminus font. I think
> you would have to change the font on the
> console to one which supported unicode.

It is the console that only supports a (more)
limited number of chars.

-- 
underground experts united
http://user.it.uu.se/~embe8573



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-07-30 21:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-23 17:16 Default character encoding Richmond
2017-07-23 17:36 ` Emanuel Berg
2017-07-23 17:52   ` Richmond
2017-07-23 18:47     ` Emanuel Berg
2017-07-24  4:44 ` Teemu Likonen
2017-07-24 15:04   ` Richmond
2017-07-24 16:50     ` Emanuel Berg
2017-07-28 16:30       ` Richmond
2017-07-30  1:09         ` Emanuel Berg
2017-07-30 16:26           ` Richmond
2017-07-30 21:37             ` Emanuel Berg
2017-07-24 11:33 ` Byung-Hee HWANG (황병희, 黃炳熙)
2017-07-24 12:23   ` Richmond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).