[New-bugs-announce] [issue11246] PyUnicode_FromFormat("%V") decodes the byte string from ISO-8859-1

STINNER Victor report at bugs.python.org
Fri Feb 18 23:12:14 CET 2011


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

While testing a patch fixing issue #7330, I found a bug in PyUnicode_FromFormat() in the %V format: it decodes the byte string from ISO-8859-1, whereas I would expect that the string is decodes from UTF-8, as the "%s" format.

----------
messages: 128816
nosy: haypo, ysj.ray
priority: normal
severity: normal
status: open
title: PyUnicode_FromFormat("%V") decodes the byte string from ISO-8859-1
versions: Python 3.3

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


More information about the New-bugs-announce mailing list