This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients georg.brandl, ixokai, lemburg, pitrou, ronaldoussoren, ruseel
Date 2010-12-07.14:29:42
SpamBayes Score 2.7755576e-16
Marked as misclassified No
Message-id <1291732185.65.0.0179888629082.issue10154@psf.upfronthosting.co.za>
In-reply-to
Content
UTF-8 works on SuSE Enterprise Linux 9 and 10 as well. 

BTW, neither UTF8 nor UTF-8 work on HPUX 10. That platform requires spelling it as utf8. 

This sadly enought means that this code doesn't work on HPUX 10:

>>> locale.setlocale(locale.LC_ALL, locale.getdefaultlocale())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/python2.7/lib/python2.7/locale.py", line 531, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

That's because getdefaultlocale returns 'UTF8' as the encoding, even though LANG is set to 'nl_NL.utf8' (which is a working locale on the machine I tested).

BTW. I'm +1 on changing the alias table as Marc-Andre proposed.
History
Date User Action Args
2010-12-07 14:29:45ronaldoussorensetrecipients: + ronaldoussoren, lemburg, georg.brandl, ixokai, pitrou, ruseel
2010-12-07 14:29:45ronaldoussorensetmessageid: <1291732185.65.0.0179888629082.issue10154@psf.upfronthosting.co.za>
2010-12-07 14:29:42ronaldoussorenlinkissue10154 messages
2010-12-07 14:29:42ronaldoussorencreate