[New-bugs-announce] [issue12508] Codecs Anomaly

Saul Spatz report at bugs.python.org
Thu Jul 7 00:45:49 CEST 2011


New submission from Saul Spatz <saul.spatz at gmail.com>:

The attached script produces the output 

'A\ufffdBC\ufffd'
'A\ufffdBC'

although it seems to me that both lines should be the same.  The first line is correct, I think, since the <F4> at the end is a maximal subpart of an ill-formed subsequence, according to the definition in the Unicode standard.

----------
components: Unicode
files: fffd.py
messages: 139954
nosy: spatz123
priority: normal
severity: normal
status: open
title: Codecs Anomaly
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file22597/fffd.py

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


More information about the New-bugs-announce mailing list