1 | ||
Editor: pycz
Time: 2007/06/18 08:40:10 GMT+0 |
||
Note: |
changed: - !UnicodeEncodeError: 'charmap' codec can't encode character .... ================================================================= Všichni to znají: problémy s češtinou v programech. Chybové hlášky vypadají většinou nějak takto:: Traceback (most recent call last): File "J8048952.py", line 2, in <module> print u"─Ť┼í─Ź─Ť┼í┼ż├Ż" File "C:\prg\Python25\lib\encodings\cp852.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode character u'\u203a' in position 1: character maps to <undefined> >>> Více o tomto problému na PythonUnicodeCestina.
Všichni to znají: problémy s češtinou v programech. Chybové hlášky vypadají většinou nějak takto:
Traceback (most recent call last): File "J8048952.py", line 2, in <module> print u"─Ť┼í─Ź─Ť┼í┼ż├Ż" File "C:\prg\Python25\lib\encodings\cp852.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode character u'\u203a' in position 1: character maps to <undefined> >>>
Více o tomto problému na PythonUnicodeCestina.