[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mime encoded subject is not decoded correctly
From: |
Reiner Steib |
Subject: |
Re: mime encoded subject is not decoded correctly |
Date: |
Tue, 19 Oct 2004 19:14:45 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
On Tue, Oct 19 2004, Uwe Brauer wrote:
> Hm, again my lisp knowledge is to limited, but precisely are I
> supposed to do just putting the above unless lines, in gnus (this did
> not work), add some appropriate lines in the relevant hooks?
Put the following in your ~/.gnus.el file:
--8<---------------cut here---------------start------------->8---
(require 'mm-util)
;; cp1252 is no valid mime-charset, but it's used in the wild (should be
;; windows-1252). Let's treat it as windows-1252 or iso-8859-1.
(unless (mm-coding-system-p 'cp1252)
(if (mm-coding-system-p 'windows-1252)
(add-to-list 'mm-charset-synonym-alist '(cp1252 . windows-1252))
(add-to-list 'mm-charset-synonym-alist '(cp1252 . iso-8859-1))))
--8<---------------cut here---------------end--------------->8---
After starting Gnus, `C-h v mm-charset-synonym-alist RET' should show
you an entry for cp1252 and the subject should be decoded correctly.
If not, it's probably because of XEmacs/nomule. Maybe someone with
XEmacs knowledge can look into `mm-charset-to-coding-system'. (Maybe
ask on c.e.x?)
> Reiner> BTW, is this a silly virus waring by a broken mailer?
> NO, [...]
I should refresh my Spanish course. :-)
Bye, Reiner.
PS: Maybe you can turn off the strange filling of the citations.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/