Hello Christoph,

 On Tuesday, February 27, 2007 at 23:20:25 +0100, Christoph Berg wrote:

> did you try the charset-hook suggested here? Does it work for you?

    I'm not Ambrose, but have no doubt it worked. ;-)


> If so I'd be inclined to include it in /etc/Muttrc.

    Then I'll contribute another similar charset-hook, aliasing EUC-JP
to EUC-JP-MS for Japanese. It deals with Microsoft mailers which use
their own extended charset pretending it's straight EUC-JP. The result
is nearly the same as the GB2312 hook: Only (small) benefit. No
drawbacks.

    I still have to highlight one danger: Such hook has no drawbacks,
provided iconv knows the target charset, here EUC-JP-MS. That's OK for
Sarge and Etch. Not for Woody (beware of backports).

| # Some GB18030 traditional Chinese mails are wrongly labelled GB2312.
| # The first charset is a superset of the second. Let's alias it, so
| # that Mutt displays such mails as if they were correctly labelled.
| charset-hook ^gb2312$ gb18030
|
| # Some mailers send EUC-JP-MS Japanese mails wrongly labelled EUC-JP.
| # The first charset is a superset of the second. Let's also alias it
| # (but comment this out if "iconv -l | grep EUC-JP-MS" finds nothing):
| charset-hook ^euc-jp$ euc-jp-ms


Bye!    Alain.
-- 
Mutt muttrc tip for mailing lists: set followup_to=yes and declare the list as
 - subscribe [EMAIL PROTECTED] if you are subscribed and don't want courtesy 
copy.
 - lists [EMAIL PROTECTED]     if you are not subscribed or want a courtesy 
copy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to