[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Control outgoing messages' encoding
From: |
Leo |
Subject: |
Re: Control outgoing messages' encoding |
Date: |
Thu, 10 May 2007 10:21:54 +0100 |
User-agent: |
No Gnus v0.7, Emacs/23.0.0.20 (2007-05-07), Fedora 6.93 gnu/linux |
----- Katsumi Yamaoka (2007-05-10) wrote:-----
>> How can I change encoding just for one message? I have a few friends
>> having problem displaying utf-8 emails and I know that gbk/gb2312 works
>> for them.
>
>> Google shows that mm-coding-system-priorities can be used for that.
>
> In the Japanese language environment, it has a non-nil value by
> default as:
>
> (iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8)
>
> Although I don't know what is proper for Chinese, the one like
> the following might help:
>
> (setq mm-coding-system-priorities '(iso-8859-1 gb2312 gbk utf-8))
>
> It means gb2312 will be used if text can be encoded with gb2312,
> gbk, and utf-8.
>
> Otherwise, you can modify MML tags manually. For instance, add
> a text/plain tag by typing
>
> M-x mml-insert-part RET text/plain RET
>
> at the beginning of the message body, and add a charset parameter
> as follows:
>
> <\#part type="text/plain" disposition=inline charset=gb2312>
>
> You can also add an encoding parameter such as: encoding=8bit
>
> Regards,
Thank you for this excellent answer.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)