On Monday, April 8, 2002, at 06:41 , Mikhail Zabaluev wrote: > Broad assumptions stink :) > Why not Unicode, however? It would be nice if email.Header.Header > objects would dump themselves into Unicode strings, so that we > can match regex there without hassle. See my feature request > at SF for mimelib.
That will work for encodings that Python happens to have a Unicode codec installed for, but certainly not for all encodings. Also, we will lose information if we try to take the Unicode header and make a non-Unicode header out of it again (if that's even possible!).. not all mail clients support UTF-8 headers yet, especially Unix ones. I think I need to do a thorough revamping of the email.Charset and email.Header modules to be a bit more Unicode-friendly (they are Unicode-friendly now, but don't really spit out Unicode too easily). Ben _______________________________________________ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-developers
