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 skrah
Recipients asvetlov, ezio.melotti, gklein, jcea, jkloth, python-dev, serhiy.storchaka, skrah, tim.golden, turncc, vstinner
Date 2012-11-02.21:03:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20121102210400.GA24837@sleipnir.bytereef.org>
In-reply-to <1351888478.2706.10.camel@raxxla>
Content
On FreeBSD both Serhiy's original test case as well as the unit test work
if the locale is ISO8859-15:

>>> sys.getdefaultencoding()
'utf-8'
>>> sys.getfilesystemencoding()
'iso8859-15'
>>> locale.getpreferredencoding(True)
'ISO8859-15'
>>> locale.getpreferredencoding(False)
'ISO8859-15'

Naturally, if the locale is utf-8 the test works as well.
History
Date User Action Args
2012-11-02 21:03:59skrahsetrecipients: + skrah, jcea, vstinner, tim.golden, jkloth, ezio.melotti, asvetlov, gklein, python-dev, serhiy.storchaka, turncc
2012-11-02 21:03:59skrahlinkissue16218 messages
2012-11-02 21:03:59skrahcreate