[issue8304] strftime and Unicode characters

Mark Lawrence report at bugs.python.org
Thu Jul 10 16:08:50 CEST 2014


Mark Lawrence added the comment:

Using 3.4.1 and 3.5.0 I get:-

time.strftime("%d\u200F%A", time.gmtime())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'locale' codec can't encode character '\u200f' in position 2: Illegal byte sequence

----------
nosy: +BreamoreBoy

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


More information about the Python-bugs-list mailing list