classification
Title: unicode identifiers in error messages
Type: behavior Stage:
Components: Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: georg.brandl, loewis
Priority: normal Keywords:

Created on 2007-08-31 07:10 by georg.brandl, last changed 2008-01-06 22:29 by admin. This issue is now closed.

Messages (2)
msg55528 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-31 07:10
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
msg55531 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-08-31 11:01
This is now fixed in r57837
History
Date User Action Args
2008-01-06 22:29:45adminsetkeywords: - py3k
versions: Python 3.0
2007-08-31 11:01:44loewissetstatus: open -> closed
resolution: fixed
messages: + msg55531
2007-08-31 07:10:38georg.brandlcreate