On Mon, 22 Oct 2007 21:24:40 +0200, Fabian López wrote: > I am parsing an XML file that includes chineses characters, like ^ > uu啖啖才是w.扉L锍才是 or ヘアアイロン... The problem is that I get an error like: > UnicodeEncodeerror:'charmap' codec can't encode characters in > position..
You say you are *parsing* the file but this is an *encode* error. Parsing means *decoding*. You have to show some code and the actual traceback to get help. Crystal balls are not that reliable. ;-) Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list