Message generated for change (Comment added) made by tkikuchi
You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid00103&aidf7026&group_id3
Category: Pipermail
Group: Mailman 2.1
Status: Closed
Resolution: NonePriority: 6
Submitted By: Tokio Kikuchi (tkikuchi)
Assigned to: Nobody/Anonymous (nobody)
Summary: HyperArch.py unicode substitution
Initial Comment:
bin/arch and HyperArch.py produced error when i18n
characters are present in the message body. I suspect
that the text is in unicode string. This patch tests if
text is unicode and then make the substitute string
unicode.
File
"/usr/home/mailman/mailman-21/Mailman/Archiver/pipermail.py",
line 592, i
n add_article
temp = self.format_article(article)
File
"/usr/home/mailman/mailman-21/Mailman/Archiver/HyperArch.py",
line 1192,
in format_article
self.__processbody_URLquote(lines)
File
"/usr/home/mailman/mailman-21/Mailman/Archiver/HyperArch.py",
line 1131,
in __processbody_URLquote
text = re.sub('@', _(' at '), text)
File "/usr/local/lib/python2.1/sre.py", line 63, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/local/lib/python2.1/sre.py", line 164, in _sub
return _subn(pattern, template, string, count)[0]
File "/usr/local/lib/python2.1/sre.py", line 185, in
_subn
append(filter(m))
File "/usr/local/lib/python2.1/sre.py", line 173, in
filter
return sre_parse.expand_template(template, match)
File "/usr/local/lib/python2.1/sre_parse.py", line
732, in expand_template
return string.join(literals, sep)
File "/usr/local/lib/python2.1/string.py", line 128,
in join
return sep.join(words)
UnicodeError: ASCII decoding error: ordinal not in
range(128)
----------------------------------------------------------------------
Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-12-25 12:48Message:
Logged In: YES
user_idg709
merged into #865661.
----------------------------------------------------------------------
Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-02-20 00:26
Message:
Logged In: YES
user_idg709
I think this deserves to be included in next release
(2.1.2). So, increment priority and clean up old patch.
----------------------------------------------------------------------
Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-02-04 06:45
Message:
Logged In: YES
user_idg709
Update this patch for small bug. Charset defaults to 'us-ascii'.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid00103&aidf7026&group_id3