Hi,

* Isaac Claymore [02-07-30 15:03:51 +0200] wrote:
>       set charset=zh_cn.gb2312
>       set send_charset="us-ascii:iso-8859-1:zh_cn.gb2312"
>    And everything is OK, I can read and write mails in Chinese(in gb2312).
>    However, whenever I send emails with a subject in Chinese, the receiver
> gets something like this :"Subject: =?zh_cn.gb2312?B?uf65/g==?=", although
> all other parts of the mail are fine.
>    Thanks for hints and suggestions.(please CC to me, i'm not on this list)

Tell the recipient his or her mail client is broken. I don't
have a table for the character set ``zh_cn.gb2312'', but it
seems correct. For a full explanation of the short form
below pleace look at RfC 2047 (and read it, of course).

Any 8bit character within any header field has to be
encoded down to 7bit. To correctly decode it the character
set is required, too (since ascii is the default for
headers). The correct form is:

  =?C?E?T?=

  =? ... beginning of encoded word
  C  ... character set
  ?  ... delimiter
  E  ... encoding (B for Base64, Q for quoted-printable)
  ?  ... delimiter
  T  ... Text encoded with E
  ?= ... the end

   bye, Rocco

Reply via email to