Python 2.5.2 on Ubuntu Hardy Utf-8-Euro error

Jan Claeys usenet at
Sun Jun 8 00:40:32 CEST 2008

Op Fri, 30 May 2008 22:37:14 +0200, schreef M.-A. Lemburg:

> On 2008-05-30 17:41, Peter Otten wrote:
>> Josep wrote:

>>> My Python version is 2.5.2, Ubuntu Hardy .deb package.

>> Python might get confused by an @EURO suffix in the locale:

> Right, that's what's happening.
> The locale module uses a locale aliasing table that help map environment
> locale settings to C local names.
> That table was last updated in 2004 and since then a lot more locale
> variable strings have made their way into the Linux distros.
> I guess we need to update the table...

Ubuntu doesn't use @EURO suffixes...?

$ grep EURO /usr/share/i18n/SUPPORTED


More information about the Python-list mailing list