Help : looking for language -> best encoding scheme dict.

Martin v. Löwis martin at v.loewis.de
Tue Dec 10 13:43:58 EST 2002


> Has someone already got a dictionnary (or tuple of tuples) that
associate
> the ISO language codes to the prefered encoding scheme for that
language (as
> expected by "unicodestring.encode(...)" ).

Mailman 2.1 has a (limited) collection of such information, in a
dictionary.

If you find a locale.aliases file on Unix, checking the aliases will
tell you what the system developers think that the defaults should be.

Regards,
Martin




More information about the Python-list mailing list