Gnus development mailing list
 help / color / mirror / Atom feed
* Re: multiple charsets handling in gnus
@ 2001-09-10  7:27 Pavel Janík
  2001-09-12 19:13 ` Pavel Janík
  0 siblings, 1 reply; 13+ messages in thread
From: Pavel Janík @ 2001-09-10  7:27 UTC (permalink / raw)


   > * Near the end of my ~/.gnus, I inserted the following lines:
   > (require 'mm-util)
   > (add-to-list 'mm-charset-synonym-alist '(windows-1251 . cp1251))

What about adding this to Gnus directly? There is already this code:

    ,(unless (mm-coding-system-p 'windows-1252)	; should be defined eventually
       '(windows-1252 . iso-8859-1))

so we can extend this to have also 1251 together with 1250. I too have this
in my ~/.gnus to be able to read e-mails written on Windows:

;; Support for Windows-1250
(require 'mm-util)
(add-to-list 'mm-charset-synonym-alist '(windows-1250 . cp1250))

I hope that I'll be able to remove that from my .gnus soon :-)
-- 
Pavel Janík

panic("bad_user_access_length executed (not cool, dude)");
                  -- 2.0.38 kernel/panic.c


^ permalink raw reply	[flat|nested] 13+ messages in thread
* multiple charsets handling in gnus
@ 2001-09-07 17:39 Alexander Kotelnikov
  2001-09-07 19:19 ` Kai Großjohann
  2001-09-07 21:47 ` Kai Großjohann
  0 siblings, 2 replies; 13+ messages in thread
From: Alexander Kotelnikov @ 2001-09-07 17:39 UTC (permalink / raw)


Hello.

I have a problem with gnus: I am russian so I read mail in cyrillic.
Cyrillic has at least three wide(or not wide) spread charsets:
1. koi8-r (unix systems)
2. cp1251, or Windows-1251 (windows cyrillic)
3. iso-8859-5, not widly used, but ISO standard.

Most of mail I get is in koi8-r and I read it without any
troubles. But when I get a mail with
Content-Type: text/plain; charset=windows-1251
or
Content-Type: text/plain; charset=cp1251
I see undecoded subject, like =?windows-1251?B?4vLu8O7l?= and body.

As gnus info sais I have
(put-charset-property 'cyrillic-iso8859-5
		      'preferred-coding-system 'koi8-r)
and 

(codepage-setup 1251)
(define-coding-system-alias 'windows-1251 'cp1251)

set in my ~/.gnus.el

One more problem: people now write mail in utf-8 encoding, can it be
converted by gnus to me default, if emacs can't display unicode?

I use GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit) with more or
less up-to-date cvs gnus.

PS Cc: are welcome

-- 
Alexander Kotelnikov
Saint-Petersburg, Russia


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

end of thread, other threads:[~2001-09-13  0:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10  7:27 multiple charsets handling in gnus Pavel Janík
2001-09-12 19:13 ` Pavel Janík
2001-09-13  0:14   ` ShengHuo ZHU
  -- strict thread matches above, loose matches on Subject: below --
2001-09-07 17:39 Alexander Kotelnikov
2001-09-07 19:19 ` Kai Großjohann
2001-09-07 21:00   ` Alexander Kotelnikov
2001-09-07 21:47 ` Kai Großjohann
2001-09-07 21:56   ` Alexander Kotelnikov
2001-09-07 23:17     ` Kai Großjohann
2001-09-07 23:30       ` Alexander Kotelnikov
2001-09-08 10:59         ` Kai Großjohann
2001-09-08 11:06           ` Kai Großjohann
2001-09-08 21:04             ` Alexander Kotelnikov

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