[ mailman-Patches-674401 ] ToDigest.py i18n subject
SourceForge.net
noreply at sourceforge.net
Thu Jan 30 21:55:40 EST 2003
Patches item #674401, was opened at 2003-01-25 01:08
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=674401&group_id=103
Category: internationalization
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Tokio Kikuchi (tkikuchi)
Assigned to: Nobody/Anonymous (nobody)
Summary: ToDigest.py i18n subject
Initial Comment:
ToDigestl.py (v2.23) was considerably improved but
there remain some oddities in digested message subject
representation. Specificaly, MIME subject is not
wrapped with the lheader() propperly.
Please examine the files I am going to attach.
1. Test program to examine the behaviour of lheader()
and improbed (but lengthy) header_in_a_line() which
removes excessive CRLF and adjust folding white spaces.
It simulates the subject-prefix which will be added in
CookHeaders.py.
2. Result of test program. You will notice
incompatiblity when the subject is once MIME encoded.
3. New patch which use header_in_a_line() and Utils.wrap()
----------------------------------------------------------------------
>Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-01-31 05:55
Message:
Logged In: YES
user_id=67709
Looks like good for english text (may be for western) but
folding white space should be treated as null string ('') in
iso-2022-jp encoded japanese (and other RFC 2047 encoded
MIME subject, I believe). u' '.join() must be u''.join() in
these languages. You must alway check if the part of the
header is mime encoded or not when joining. :-(
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-01-31 05:17
Message:
Logged In: YES
user_id=12800
Tell me what you think of the hial() function in the
attached file.
----------------------------------------------------------------------
Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-01-25 01:16
Message:
Logged In: YES
user_id=67709
Forget to note: This patch is revise of #668819 which was
closed and differently applied in recent CVS.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=674401&group_id=103
More information about the Mailman-coders
mailing list