[issue18870] eval() uses latin-1 to decode str
Aug. 28, 2013
8:24 p.m.
Antoine Pitrou added the comment: $ python Python 2.7.4 (default, Apr 19 2013, 18:28:01) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.
eval("u'รค'") u'\xc3\xa4' import locale locale.getpreferredencoding() 'UTF-8'
---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18870> _______________________________________
4178
Age (days ago)
4178
Last active (days ago)
0 comments
1 participants
participants (1)
-
Antoine Pitrou