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


Groups > comp.lang.python > #96172

Re: PIP does not appear to handle diacritics correctly.

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'encoded': 0.05; 'skip:" 60': 0.05; 'skip:\\ 20': 0.05; ':-(': 0.07; 'utf-8': 0.07; 'cc:addr:python-list': 0.09; 'mentions': 0.09; 'subject:not': 0.11; 'wed,': 0.15; "skip:' 30": 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'weird.': 0.16; 'wrote:': 0.16; '>>>': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'skip:" 40': 0.20; 'sep': 0.22; 'seems': 0.23; 'second': 0.24; 'header:In-Reply-To:1': 0.24; 'error': 0.27; 'message- id:@mail.gmail.com': 0.27; 'correct': 0.28; "skip:' 20": 0.34; 'received:google.com': 0.35; 'path': 0.35; 'skip:" 50': 0.35; 'but': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'wrong': 0.38; 'why': 0.39; 'unable': 0.39; 'where': 0.40; 'different': 0.63; 'python-list': 0.66; 'funny': 0.83; 'chrisa': 0.84; 'subject:handle': 0.84; 'to:none': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=gN7TjTa6+WEchGjVO60Wz6ilQTsdLqvDvHBQJwGJMqM=; b=JEmcSJsocQSyQB89VLIMuGb9hjuhK45Kh5Pqy68u3k60lKB2y+gNyAsar3BKZhiK7q r8A31ZtF1MhVmx2doWXE4tzUz8jScxLRwR7ujimP1pQjif+hH0pK01TOujgE4JjvK2KD 4NShTrOD90DJcp7ZTtnuFmytXLXA7mNkKb9LHlhZ9fbcMy9t6xxnTTppSEusjBu7Xaxe VMMtHqdkID0p2kSM0/rh6Mjv21LGhaeXQs/oy0CUEs7MP0zRQ28JDgt35Ot2lNvvvlqh 24qZTa1zHhIgCO59vZzIqv39g4yGnFdhr6YXAH+eHXUUTSf+8hsA+e4IDAEib9rUR2JI cqyg==
MIME-Version 1.0
X-Received by 10.50.50.198 with SMTP id e6mr48871823igo.13.1441787025439; Wed, 09 Sep 2015 01:23:45 -0700 (PDT)
In-Reply-To <msoot1$g99$1@tota-refugium.de>
References <msnc1t$jr2$1@tota-refugium.de> <mailman.237.1441751759.8327.python-list@python.org> <msoot1$g99$1@tota-refugium.de>
Date Wed, 9 Sep 2015 18:23:45 +1000
Subject Re: PIP does not appear to handle diacritics correctly.
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.259.1441787028.8327.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1441787028 news.xs4all.nl 23800 [2001:888:2000:d::a6]:34683
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96172

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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