Here's the response from the sqwebmail list (see below).

So, I'm new to Python (just learnt it yesterday!) and hence not remotely familiar with the library etc. Is I18N decode support there and hence would it be quite easy (for me) to add into TMDA?

--
Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
http://www.wwwdotorg.org/work_contact/


----------Forwarded message ----------
From: Sam Varshavchik <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [sqwebmail] Re: tmda-ofmipd that'll run under tcpserver


Stephen Warren writes:

Hello. Does anyone have any idea why sqwebmail is UTF-8/I18N encoding the
subject line, just because I put a single = sign in it?

Because, as you note, = is used as part of I18N encoding itself. Therefore, if = is explicitly entered into the subject line, and it's followed by a ?, it will get mis-interpreted as the beginning of an I18N string (with disasterous results). To prevent that, the = character is also encoded.


Although in this particular instance I18N is not strictly necessary, making the determination when I18N is actually mandatory, and when it's not, is somewhat cumbersome. Choosing to use I18N encoding for all non-English characters, as well as certain other special punctuation marks that have special meaning in certain contexts (such as =, but also ", and a few other things), is much simpler.


_________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers

Reply via email to