Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Aleksey Cheusov <cheusov@scnsoft.com>
Subject: Re: content-type and encoding
Date: 25 Oct 2002 21:02:49 +0300	[thread overview]
Message-ID: <s93r8ee8khi.fsf@cheusov.scnsoft.com> (raw)
In-Reply-To: <87elap5kfn.fsf@rho.msk.mt>

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.


           reply	other threads:[~2002-10-25 18:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <87elap5kfn.fsf@rho.msk.mt>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s93r8ee8khi.fsf@cheusov.scnsoft.com \
    --to=cheusov@scnsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).