[New-bugs-announce] [issue1070] unicode identifiers in error messages

Georg Brandl report at bugs.python.org
Fri Aug 31 09:10:38 CEST 2007


New submission from Georg Brandl:

When showing a name in a NameError, the encoding is messed up.
(File y.py, encoded in UTF-8, contains only only the line shown in the
traceback; the terminal encoding is set to UTF-8.)

$ python3k y.py
Traceback (most recent call last):
  File "y.py", line 1, in <module>
    print(ä)
NameError: name 'ᅢᄂ' is not defined

----------
assignee: loewis
keywords: py3k
messages: 55528
nosy: georg.brandl, loewis
severity: normal
status: open
title: unicode identifiers in error messages
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1070>
__________________________________


More information about the New-bugs-announce mailing list