parsing chinese characters
"Fabian López" <[email protected]> Mon, 22 Oct 2007 20:45:09 +0200
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Message-ID | <[email protected]> |
Hi, 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.... The thing is that I would like to ignore it and parse all the characters less these ones. So, could anyone help me? I suppose that I can catch an exception that ignores it or maybe use any function that detects this chinese characters and after that ignore them. Thanks!! Fabian _______________________________________________ XML-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/xml-sig