Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96172
| References | <msnc1t$jr2$1@tota-refugium.de> <mailman.237.1441751759.8327.python-list@python.org> <msoot1$g99$1@tota-refugium.de> |
|---|---|
| Date | 2015-09-09 18:23 +1000 |
| Subject | Re: PIP does not appear to handle diacritics correctly. |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.259.1441787028.8327.python-list@python.org> (permalink) |
On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
<python-list@python.org> wrote:
> Whenever I start PIP, I get:
> "Fatal error in launcher: Unable to create process using '"C:\Users
> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> \python.exe" "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
> \Python35-32\Scripts\pip.exe" '"
>
> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
>
> The funny thing is that the message mentions the path twice, with
> different wrong codings.
> :-(
Peculiar. I don't know if it helps, but the first one seems to have
been encoded UTF-8 and then decoded CP437; and the second has been
encoded Latin-1 and decoded CP850.
>>> "BürgerGegenFluglärm".encode("utf-8").decode("437")
'BürgerGegenFluglärm'
>>> "BürgerGegenFluglärm".encode("iso-8859-1").decode("850")
'B³rgerGegenFluglõrm'
But why those particular encodings... weird.
ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-08 19:14 +0000
Re: PIP does not appear to handle diacritics correctly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-08 23:35 +0100
Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 07:59 +0000
Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 09:13 +0100
Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 02:10 -0700
Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 11:03 +0000
Re: PIP does not appear to handle diacritics correctly. Chris Angelico <rosuav@gmail.com> - 2015-09-09 18:23 +1000
Re: PIP does not appear to handle diacritics correctly. Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-09-09 18:16 +0200
Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 17:21 +0100
Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 20:23 +0000
Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 20:59 +0100
Re: PIP does not appear to handle diacritics correctly. Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-09-09 22:20 +0200
Re: PIP does not appear to handle diacritics correctly. random832@fastmail.us - 2015-09-09 16:23 -0400
Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 23:54 -0700
Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 00:22 -0700
Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 11:07 +0000
Re: PIP does not appear to handle diacritics correctly. Chris Angelico <rosuav@gmail.com> - 2015-09-09 23:10 +1000
Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 16:55 +0100
Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 10:56 -0700
csiph-web