[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package
Skip Montanaro
report at bugs.python.org
Sun Feb 1 21:19:07 CET 2015
Skip Montanaro added the comment:
Peter Otten posted a solution on c.l.py. The issue is that I didn't
mix my case properly when setting LANG:
hgpython% LANG=en_US.UTF-8 python3.5 -c 'import locale;
print(locale.getpreferredencoding(False))'
UTF-8
hgpython% LANG=en_US.utf8 python3.5 -c 'import locale;
print(locale.getpreferredencoding(False))'
US-ASCII
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23374>
_______________________________________
More information about the Python-bugs-list
mailing list