Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76606 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2014-08-19 17:44 -0400 |
| Last post | 2014-08-19 17:44 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding Terry Reedy <tjreedy@udel.edu> - 2014-08-19 17:44 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2014-08-19 17:44 -0400 |
| Subject | Re: Python 2.7 IDLE Win32 interactive, pasted characters i- wrong encoding |
| Message-ID | <mailman.13165.1408484734.18130.python-list@python.org> |
On 8/19/2014 5:23 AM, Chris Angelico wrote: > On Tue, Aug 19, 2014 at 7:03 PM, Terry Reedy <tjreedy@udel.edu> wrote: >> On 8/18/2014 7:44 PM, Chris Angelico wrote: >>>>>> u"U+20AC is € is 0x80 in CP-1252" >>> >>> u'U+20AC is \x80 is 0x80 in CP-1252' >> >> >> Better than what I get on my 3.4.1 Win7 >> >> U+20AC is € is 0x80 in CP-1252 > How's \x80 better than an actual euro sign? (As ascii() shows, it's > coming through as \u20ac, which is correct.) 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" -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web