Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85032

Re: pydoc3.5 borks on my Mac

Date 2015-02-02 09:09 +1100
From Cameron Simpson <cs@zip.com.au>
Subject Re: pydoc3.5 borks on my Mac
References <CANc-5UyODbW=idsgyT9rK2hzPFLnU7_sDO1V9fR+-9mk+nMovw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18381.1422828595.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 01Feb2015 14:17, Skip Montanaro <skip.montanaro@gmail.com> wrote:
>On Sun, Feb 1, 2015 at 1:35 PM, Peter Otten <__peter__@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 <cs@zip.com.au>

A feature is a bug with seniority.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pydoc3.5 borks on my Mac Cameron Simpson <cs@zip.com.au> - 2015-02-02 09:09 +1100

csiph-web