[New-bugs-announce] [issue29907] Unicode encoding failure

Robert Baker report at bugs.python.org
Sat Mar 25 22:26:08 EDT 2017


New submission from Robert Baker:

Using Python 2.7 (not IDLE) on Windows 10.

I have tried to use a Python 2.7 program to print the name of Czech composer Antonín Dvořák. I remembered to add the "u" before the string, but regardless of whether I encode the caron-r as a literal character (pasted from Windows Character Map) or as \u0159, it gives the error that character 0159 is undefined. This is incorrect; that character has been defined as "lower case r with caron above" for several years now. (The interpreter has no problem with the ANSI characters in the string.)

----------
messages: 290503
nosy: Robert Baker
priority: normal
severity: normal
status: open
title: Unicode encoding failure
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29907>
_______________________________________


More information about the New-bugs-announce mailing list