[Mailman-Users] Character encoding for mass subscribtion?

Mark Sapiro mark at msapiro.net
Tue Jun 25 19:28:15 CEST 2013


On 06/24/2013 04:34 PM, Urwald Urwald wrote:
> 
> However, I've tested it with a file containing only 1 mail address and "áéíóóúñÑ" as name. Finally the upload was working when I used 8859-15. Than I have converted my big address list to 8859-15, and now it didn't work anymore. Yes, I can reproduce that. Does mailman try to auto-recognize the character encoding?


Mailman assumes the mass subscribe list is encoded in the character set
of the list's preferred language. What this is depends on the language
and is defined by the add_language directives at the end of Defaults.py.

For example, a few entries are:

add_language('en',    _('English (USA)'),       'us-ascii',    'ltr')
add_language('es',    _('Spanish (Spain)'),     'iso-8859-1',  'ltr')
add_language('et',    _('Estonian'),            'iso-8859-15', 'ltr')
add_language('eu',    _('Euskara'),             'iso-8859-15', 'ltr')
add_language('gl',    _('Galician'),            'utf-8',       'ltr')

It is fairly simple to change the default character set for English to
utf-8 because us-ascii is a proper subset of utf-8, but that's the only
such case. See the FAQ at <http://wiki.list.org/x/6oDz>.

Changing the character set for other languages involves a procedure
similar to that outlined for Swedish in the link in e.c.'s reply.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list