Patches item #1443875, was opened at 2006-03-05 23:41 Message generated for change (Comment added) made by bwarsaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1443875&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Tokio Kikuchi (tkikuchi) Assigned to: Barry A. Warsaw (bwarsaw) Summary: email/charset.py convert() patch Initial Comment: email/charset.py has convert() function to incorporate using different charset for input and output for a language like Japanese. Because the email user agent in Japan frequently use characters outside the range of legitimate JIS charset, these messages are shunted in mailman delivery. Here is a patch to handle this case by replacing the characters by '?' using the 'errors' parameter in unicode/encode functions. This patch includes the unicode string conversion patch in #1368247. ---------------------------------------------------------------------- >Comment By: Barry A. Warsaw (bwarsaw) Date: 2006-03-12 08:09 Message: Logged In: YES user_id=12800 Do you have a test case for this? #1368247 includes one just for the encoding of unicode strings, but not for the error argument. If you can include a simple test case, then I'll add this patch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1443875&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
