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

Gillou nospam at bigfoot.com
Tue Dec 10 13:32:43 EST 2002


Hi,

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(...)" ).

In example :

dict = {
  'en': 'ascii',
  'fr': 'iso8859-1',
  'es': 'iso8859-1,
  ...}

Many thanks in advance for your help.

--Gilles






More information about the Python-list mailing list