<<< Date Index >>>     <<< Thread Index >>>

Re: title encoded wrong



Hello Jerry,

 On Thursday, May 5, 2005 at 9:43:05 PM +0800, Jerry Lee wrote:

> When I compose and send an email with mutt, the body is encoded
> correctly

    Are you sure? Is it not more like: Good GB2312 charset but wrong
label? Check "Content-Type:" header.


> [...] but the title seems not right, ie.
> " =?gb2312:us-ascii:iso-8859-1:utf-8?B?xLO0?=
> =?gb2312:us-ascii:iso-8859-1:utf-8?B?pqOsz8LRqcHLLi4u?=".

    Remove any "set charset=..." from muttrc, and verify $charset is
GB2312 typing directly in Mutt:

| :set &charset ?charset
| charset="gb2312"


> However, those incoming mails' title appears normal.

    Just a happy coincidence. Such title would appear garbled to other
people, and even to you on a different terminal charset.


> I'd like my mails encoded in zh_CN.gb2312.

    You mean GB2312 charset, which is the default charset of your zh_CN
locale. Set a suitable $send_charset, perhaps:

| set 
send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:iso-8859-2:windows-1250:gb2312:utf-8"


Bye!    Alain.
-- 
When you post a new message, beginning a new topic, use the "mail" or
"post" or "new message" functions.
When you reply or followup, use the "reply" or "followup" functions.
Do not do the one for the other, this breaks or hijacks threads.