[issue6898] Unicode Error

2009-09-12 Thread Ezio Melotti
Ezio Melotti added the comment: It looks like you are using the Windows terminal, that, afaik, is not able to display the characters you are trying to print. This is because its default encoding - cp1252 - can encode only a small subset of the Unicode characters. If changing the encoding of the

[issue6898] Unicode Error

2009-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Change your terminal's encoding. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue6898] Unicode Error

2009-09-12 Thread vitvn
New submission from vitvn : >>>viet= "â ă á à ấ ầ ắ ằ ạ ậ ặ " >>>print(viet) Traceback (most recent call last): File "tiengviet.py", line 4, in print(viet) File "I:\python\python.v3.1_portable\App\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,sel