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


Groups > comp.lang.python > #76614

Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:IDLE': 0.04; 'interpreter': 0.05; 'output': 0.05; 'say,': 0.05; 'subject:Python': 0.06; 'subject:2.7': 0.09; 'subject:characters': 0.09; 'cc:addr:python-list': 0.11; 'ah!': 0.16; 'correct)': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; '(which': 0.31; 'gives': 0.31; 'subject:- ': 0.31; 'received:google.com': 0.35; 'wrong': 0.37; '20,': 0.68; 'to:none': 0.92
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; bh=aXS8fQhVwJ6JYmcwsnYv/y2x3sSuP8x4eFch3lWCk80=; b=dhHudssRbGe73xdXfXdAfBMH0bWalTb29A9gRxIWxPMEqbKinZGRR73JbulpfX8XQ6 Q/B2zUntmg/uYECCuCAZVc4pz0Ce+6NRmth7oZxChSuhlsSIaKrEBU+COj7CcMXEf8C4 AXvn7Mn5DXUpwPjeFz3x5lLgrBEcM6bPXuALO683Rum4i1FL+naUSCYH+hKzqt3upMlu l4X6BWXMcigoXzwxhDSQxQPO1e8FDoaQFxUR1vdFO5Utf6q7KaMYrayhPZCd3vc4ZaDn dqMHIUY3QSGzJDHkSQwJZer9yOsS1AmeH95OAy1/wb+rQvpjkuIZniBF9vK3ZOSvg/M7 3a5w==
MIME-Version 1.0
X-Received by 10.180.24.35 with SMTP id r3mr9836424wif.71.1408488019642; Tue, 19 Aug 2014 15:40:19 -0700 (PDT)
In-Reply-To <lt0ghe$g5v$1@ger.gmane.org>
References <CAPTjJmphj4N5u1ScyBP+AjCXqW_eQ_T-XJdoj=WbHUzwNHnjiA@mail.gmail.com> <lsv3ul$838$1@ger.gmane.org> <CAPTjJmpFXSknBGTvTy+QC90Z-6yBe8AOdF85cWgZttq=Hdo8Qg@mail.gmail.com> <lt0ghe$g5v$1@ger.gmane.org>
Date Wed, 20 Aug 2014 08:40:19 +1000
Subject Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.13172.1408488027.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1408488027 news.xs4all.nl 2964 [2001:888:2000:d::a6]:36738
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:76614

Show key headers only | View raw


On Wed, Aug 20, 2014 at 7:44 AM, Terry Reedy <tjreedy@udel.edu> wrote:
> Whoops, I pasted the wrong (which is to say, correct) output.
> The right (worse incorrect) interactive output is
>
> U+20AC is is 0x80 in CP-1252
> The console interpreter gives me
> u"U+20AC is ? is 0x80 in CP-1252"

Ah! You had me highly confused. :)

ChrisA

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


Thread

Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding Chris Angelico <rosuav@gmail.com> - 2014-08-20 08:40 +1000

csiph-web