UTF-8 Chinese characters

2007-09-12 Thread hbosche
Hi, I am trying to parse an SVG file encoded in UTF-8 containing Chinese characters, and am having some problems. When traversing though the nodes, I perform the following on a text node that contains chinese characters: XMLCh* ptr = (XMLCh*)dom_node-getNodeValue(); char* str_data =

Re: UTF-8 Chinese characters

2007-09-12 Thread Gareth Reakes
Hi, XMLString::transcode transcodes to your local code page. The characters may not be mapped there. Even if they are your editor or terminal you are using to see them probably wont understand them. This topic has been extensively covered on this mailing list many times. Take a look in the