On 6/21/07, Ben Finney <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > > > Seems some characters are missing from my last post. The line that > > says: > > > > h = Header(' ', 'GB2312') > > > > should say: > > > > h = Header(' ', 'GB2312') > > Your message has this field in the header: > > Content-Type: text/plain; charset="us-ascii" > > which is why the non-ASCII characters don't appear. This is the fault > of Google's charset munging. > > Please, people who use Google for mail and Usenet, kick them until > they present "utf-8" as the default encoding, instead of downgrading > to "us-ascii".
Ironically, you're sending out us-ascii encoded emails as well. Like it or not, 7-bit ASCII is the standard for SMTP, so it's a reasonable default character encoding to send MIME encoded messages in -- and it's trivial to change the outgoing character set to UTF-8 in Gmail/Google Apps. -- Evan Klitzke <[EMAIL PROTECTED]> -- http://mail.python.org/mailman/listinfo/python-list