[issue6895] locale._parse_localename fails when localename does not contain encoding information

Stefan Krah report at bugs.python.org
Mon Apr 4 13:07:48 CEST 2011


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

Marc-Andre Lemburg <report at bugs.python.org> wrote:
> The "local" file you mention only contains "en_US.UTF-8 UTF-8" on
> our Ubuntu 10.04.1 default installation.
> 
> Have you installed some other package to get support for all those
> locales ?

On Ubuntu it is a bit messy:

cp /usr/share/i18n/SUPPORTED /var/lib/locales/supported.d/local
locale-gen

On Debian it should be:

# Select 'all' in the dialog
dpkg-reconfigure locales

Stefan Krah

----------
title: locale._parse_localename fails when localename does not	contain encoding information -> locale._parse_localename fails when localename does not contain encoding information

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6895>
_______________________________________


More information about the Python-bugs-list mailing list