[New-bugs-announce] [issue5903] strftime fails in non UTF-8 locale

Barry Alan Scott report at bugs.python.org
Sat May 2 15:19:15 CEST 2009


New submission from Barry Alan Scott <barry-scott at users.sourceforge.net>:

On Mac OS X 10.5

$ LC_ALL=ru_RU.koi8-r python3.0 -c 'import time;print( time.strftime("%A"))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1:
invalid data

----------
components: Library (Lib)
messages: 86944
nosy: barry-scott
severity: normal
status: open
title: strftime fails in non UTF-8 locale
versions: Python 3.0

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


More information about the New-bugs-announce mailing list