[Mailman-Developers] subscription notification mail body

Barry Warsaw barry at list.org
Mon May 14 16:39:14 CEST 2012


On May 14, 2012, at 08:42 AM, Stanisław Findeisen wrote:

>On 2012-05-14 01:58, Mark Sapiro wrote:
>> Stanislaw Findeisen wrote:
>>>
>>> Subscription notification mail body is also distorted sometimes: I just
>>> received one for a new subscriber who used a diacritic in his name.
>>> There is '?' (ASCII 0x3F) instead of the character with diacritic.
>> 
>> 
>> I think this is because your list's preferred language is English and
>> Mailman's character set for English is us-ascii so the message body is
>> coerced to ascii and non-ascii characters get replaced by '?'.
>> 
>> If this is a serious issue, you can change Mailman's character set for
>> English to UTF-8 by putting
>> 
>> add_language('en', 'English (USA)', 'utf-8', 'ltr')
>> 
>> in mm_cfg.py.
>
>Why don't we use utf-8 for all languages in Defaults.py?

I think this would be a good default to change in Mailman 3, once it becomes a
Python 3 application (follow up for how you can help with that :).  Python 3
gives you a much more sane way of separating and handling unicode and binary
data.

Cheers,
-Barry


More information about the Mailman-Developers mailing list