[issue6898] Unicode Error
vitvn
report at bugs.python.org
Sun Sep 13 02:57:34 CEST 2009
New submission from vitvn <caothucodon123 at gmail.com>:
>>>viet= "â ă á à ấ ầ ắ ằ ạ ậ ặ "
>>>print(viet)
Traceback (most recent call last):
File "tiengviet.py", line 4, in <module>
print(viet)
File "I:\python\python.v3.1_portable\App\lib\encodings\cp1252.py",
line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u0103' in
position 2: character maps to <undefined>
>Exit code: 1
how to fix it ?
----------
components: Unicode
messages: 92557
nosy: vitvn
severity: normal
status: open
title: Unicode Error
versions: Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6898>
_______________________________________
More information about the Python-bugs-list
mailing list