From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1376 Path: news.gmane.org!not-for-mail From: Aleksey Cheusov Newsgroups: gmane.emacs.gnus.user Subject: Re: content-type and encoding Date: 25 Oct 2002 21:02:49 +0300 Organization: Science Soft Message-ID: References: <87elap5kfn.fsf@rho.msk.mt> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668166 11046 80.91.229.2 (31 Jan 2006 00:42:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:42:46 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:04 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.teledanmark.no!fu-berlin.de!uni-berlin.de!195.222.74.210!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: cheusov@cheusov.scnsoft.com Original-NNTP-Posting-Host: 195.222.74.210 Original-X-Trace: fu-berlin.de 1035568760 312698 195.222.74.210 (16 [115387]) X-Orig-Path: cheusov.scnsoft.com!nobody X-Home-Page: http://mova.org/~cheusov User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1516 Original-Lines: 47 X-Gnus-Article-Number: 1516 Tue Jan 17 17:29:04 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1376 Archived-At: Valentin Podlovchenko 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, > PGP key: 0x54FAFB96 -- Best regards, Aleksey Cheusov.