From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38661 Path: main.gmane.org!not-for-mail From: Alexander Kotelnikov Newsgroups: gmane.emacs.gnus.general Subject: multiple charsets handling in gnus Date: Fri, 07 Sep 2001 21:39:30 +0400 Organization: pale Sender: Alexander Kotelnikov Message-ID: <871yli99yl.fsf@pale.softjoys.ru> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174488 23657 80.91.224.250 (21 Oct 2002 04:28:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:28:08 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 5822 invoked from network); 7 Sep 2001 17:39:37 -0000 Original-Received: from pet-relcom.softjoys.ru (HELO pet.softjoys.ru) (212.113.101.73) by gnus.org with SMTP; 7 Sep 2001 17:39:37 -0000 Original-Received: from pale (mail@pale.softjoys.ru [212.113.101.137]) by pet.softjoys.ru (8.11.0/8.11.0) with ESMTP id f87He0h65203 for ; Fri, 7 Sep 2001 21:40:01 +0400 (MSD) Original-Received: from sacha by pale with local (Exim 3.33 #1 (Debian)) id 15fPbH-0005gy-00 for ; Fri, 07 Sep 2001 21:39:31 +0400 Original-To: ding@gnus.org User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 36 Xref: main.gmane.org gmane.emacs.gnus.general:38661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38661 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