* Control outgoing messages' encoding
@ 2007-05-10 3:34 Leo
0 siblings, 0 replies; 3+ messages in thread
From: Leo @ 2007-05-10 3:34 UTC (permalink / raw)
To: info-gnus-english
Hi all,
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.
Regards,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Control outgoing messages' encoding
2007-05-10 4:48 ` Katsumi Yamaoka
@ 2007-05-10 9:21 ` Leo
0 siblings, 0 replies; 3+ messages in thread
From: Leo @ 2007-05-10 9:21 UTC (permalink / raw)
To: info-gnus-english
----- 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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Control outgoing messages' encoding
[not found] <mailman.476.1178768519.32220.info-gnus-english@gnu.org>
@ 2007-05-10 4:48 ` Katsumi Yamaoka
2007-05-10 9:21 ` Leo
0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2007-05-10 4:48 UTC (permalink / raw)
To: info-gnus-english
>>>>> In <mailman.476.1178768519.32220.info-gnus-english@gnu.org>
>>>>> Leo 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,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-10 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-10 3:34 Control outgoing messages' encoding Leo
[not found] <mailman.476.1178768519.32220.info-gnus-english@gnu.org>
2007-05-10 4:48 ` Katsumi Yamaoka
2007-05-10 9:21 ` Leo
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).