From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: Displaying Windows-1251 character set
Date: Mon, 04 Apr 2005 11:33:59 +0200 [thread overview]
Message-ID: <v964z27uns.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m37jjizzd5.fsf@ceres.staly.plus.com>
On Mon, Apr 04 2005, David Sumbler wrote:
> Occasionally I get e-mails containing these headers:
>
> Content-Type: text/plain; charset=Windows-1251
> Content-Transfer-Encoding: 8bit
[...]
> But how do I go about displaying these sensibly? I'm running Fedora
> Core 2 Linux, on a console set to UTF-8.
You need to setup Windows-1251 aka codepage 1251 with `codepage-setup'
and add an entry to `mm-charset-synonym-alist'.
I'd suggest the following code:
(eval-after-load "mm-util"
'(progn
(codepage-setup 1251)
(when (and (not (mm-coding-system-p 'windows-1251))
(mm-coding-system-p 'cp1251))
(add-to-list 'mm-charset-synonym-alist
'(windows-1251 . cp1251)))))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
prev parent reply other threads:[~2005-04-04 9:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-04 9:04 David Sumbler
2005-04-04 9:33 ` Reiner Steib [this message]
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=v964z27uns.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+from-uce@imap.cc \
--cc=Reiner.Steib@gmx.de \
/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).