On November 8, 2005 at 3:42PM -0500,
me (at aaronsw.com) wrote:

> The latest patch seems to always QP_CORRUPT the message. Why?

In header, non-ASCII word must be converted to MIME encoded-word.

The patch encodes header (field body), not message body.  Even if
the patch is applied, message body is encoded with UTF-8/8bit (or
US-ASCII/7bit).

    *

A possible improvement is encoding field body partially.  The
current patch converts the whole of the field body to MIME
encoded-word if non-ASCII character is found.

For example, the current patch converts

  Subject: ascii and non-áscii

to

  Subject: =?utf-8?q?ascii_and_non-=C3=A1scii?=

However,

  Subject: ascii and =?utf-8?q?non-=C3=A1scii?=

is more readable.

-- 
Tatsuya Kinoshita

Attachment: pgpeS8Xfmd13S.pgp
Description: PGP signature

Reply via email to