Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: content-type and encoding
       [not found] <87elap5kfn.fsf@rho.msk.mt>
@ 2002-10-25 18:02 ` Aleksey Cheusov
  0 siblings, 0 replies; only message in thread
From: Aleksey Cheusov @ 2002-10-25 18:02 UTC (permalink / raw)


Valentin Podlovchenko <valya@vip.pp.ru> writes:

> Hi,
> I'm newbie GNUS (v5.8.8) user and have one question... could you point me
> the right direction to where read solution... ;)
> 
> How could I tell Gnus to decode MIME messages? I'm using non-Mule Xemacs
> with correctly installed Cyrillic-KOI8 (8bit) environment, when I
> receive message in koi8-r - all is OK, but when encoding is different
> (and is correctly described in Content-Type field) I can't read
> message...

In order to read messages sent in CP-1251/koi8-u/iso-8859-15,
put the following into your .emacs:

(codepage-setup 1251)
(define-coding-system-alias 'windows-1251 'cp1251)
(define-coding-system-alias 'koi8-u 'koi8-r)
(define-coding-system-alias 'iso-8859-15 'iso-8859-1)

If you use emacs20 and want to read utf-8 messages,
install MULE.

BTW, put the following into your .gnus
(setq gnus-summary-show-article-charset-alist
   '((1 . koi8-r)
	 (2 . windows-1251)
	 (3 . iso-8859-5)
     (4 . cyrillic-alternativnyj)
     (5 . koi8-u)
	 (6 . utf-8)))

This allows you to switch between character sets by pressing
1-g
2-g
...


> 
> Solution for Xemacs with Mule would be also applicable.
> 
> -- 
>   Valentin Podlovchenko, <valya@vip.pp.ru>
>   PGP key: 0x54FAFB96

-- 
Best regards, Aleksey Cheusov.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-25 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87elap5kfn.fsf@rho.msk.mt>
2002-10-25 18:02 ` content-type and encoding Aleksey Cheusov

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