On 01Feb2015 14:17, Skip Montanaro <skip.montan...@gmail.com> wrote:
On Sun, Feb 1, 2015 at 1:35 PM, Peter Otten <__pete...@web.de> wrote:
$ LANG=en_US.UTF-8 python3 -c 'import locale;
print(locale.getpreferredencoding(False))'
Aha!
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
Thank you. I always thought these Unicode encodings were supposed to
be case-insensitive.
The latter lacks a dash. See if it's that.
Cheers,
Cameron Simpson <c...@zip.com.au>
A feature is a bug with seniority.
--
https://mail.python.org/mailman/listinfo/python-list