[Python-Dev] str.ascii_lower
Martin v. Loewis
martin at v.loewis.de
Mon Dec 29 13:09:40 EST 2003
Guido van Rossum wrote:
> I have no idea what adding UTF8 to the local means. Is this something
> that Python's locale-awareness does or is it simply recognized by the
> C library?
It's recognized by the C library, both on Windows and Unix. The full
format is
<lang>_<country>@<modifierlist>.<charset>
By default, each <lang> implies a default <charset>, which can be
overridden. On Linux, <charset> is a IANA name (e.g. de_DE.ISO-8859-15);
on Windows, it is a code page (e.g. german_Germany.1252).
Regards,
Martin
More information about the Python-Dev
mailing list