Hynek Schlawack <[email protected]> added the comment:
'\u030a' can’t be latin1 as 0x030a = 778 which is waaay beyond 255. :) That's
gonna be utf-8 and indeed that maps to " ̊".
My best guess is that your LC_CTYPE is set to Mac Roman. You can check it using
"import os;os.environ.get('LC_CTYPE')".
Try running python as "LC_CTYPE=sv_SE.UTF-8 python3" and do a "print('\u030a')"
to try if it helps.
Otherwise a more complete (but minimal) example demonstrating the problem would
be helpful.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com