Thunderbird Extensions
Apple - mac
Web iPhoto Access
Donation
Make a donation to help WiPhA development

Search




Preferences

 Count of members 29 members


Users online

( nobody )
Visits

 147708 visitors

 10 visitors online

Private
forum.gifForum - Yamb - Topic #26


Topic #26 diplay chinese character in email header?
    by Guohan - visitor
03/12/2005 @ 13:33
Anonymous
i use newmailnotify under debian. subject with chinese character doesnot show properly. It seems yamb passes mime2DecodedSubject to the notifier. How can I decode this string properly. I tried several decoding ways in python, but no success. Any suggestions? Thanks.
Post an answer



Answer #1 by Globs - rank ( 53 messages )
03/12/2005 @ 13:45
Globs
I don't know which encoding Thunderbird uses in mime2DecodedSubject, and could not find any information about it. So I'm afraid I really can't help you here.

Site web Globs Write to Globs Post an answer

Top

Answer #2 by lguohan - visitor
05/12/2005 @ 15:10
Anonymous
after poking a little in mozilla source, it seems it is encoded in utf-16. Directly passing this as arguments may lose the higher 8 bits, so that it's unable to decode chinese character in the notifier. Can we re-encoded to utf-8 as args? If that's OK, any suggestion for how to implement this is appreciated, as I'm new to the xpcom programming.
Post an answer

Top

Answer #3 by Globs - rank ( 55 messages )
06/12/2005 @ 15:13
Globs
OK, thank's for these info, and your help for testing the evolution.
the forthcoming 0.6.6 version will add a new setting to allow converting the parameters to UTF-8.
(Except for the body, which is really tricky, with it's Charset and Content-Transfer-Encodingfrown.

Site web Globs Write to Globs Post an answer

Top

^ Top ^

GuppY - http://www.freeguppy.org/    Site powered by GuppY v4.5.14 © 2004-2005 - CeCILL Free License   GuppY - http://www.freeguppy.org/

Document generated in 0.11 second