[Mailman-Users] Mailman and UTF8
msapiro at value.net
Thu Nov 23 19:39:24 CET 2006
Jan Kohnert wrote:
>Mark Sapiro schrieb:
>> Thus it appears that there may be a scrubber issue when the character
>> set of the incoming message is iso-8859-1 but the i18n translated
>> canned messages are utf-8.
>> What mailman version is this?
>Leaving your comment completely in heare for reference; as said above,
>this is v2.1.9.
Sorry, somehow I overlooked your mention of the version in the OP.
Anyway, this is definitely a scrubber issue. I see why it occurs, but
I'm not yet sure how to fix it. The problem is when the character set
of the translation returned by
_('-------------- next part --------------\n')
is not compatible with the character set of the message being scrubbed,
the translation can be garbled.
I think we should be using the character set of the list's preferred
language rather than the character set of the message in this case,
but the process is complicated and I'm not sure how to do it.
If you want, you can try the attached scrubber.patch.txt (apply to
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mailman-Users