[XML-SIG] parsing chinese characters
fabian at syameses.com
Mon Oct 22 20:45:09 CEST 2007
I am parsing an XML file that includes chineses characters, like ^
ÔuÔuà¢à¢²ÅÊÇ±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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the XML-SIG