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 = XMLString::transcode(dom_node->getNodeValue());

I was originally using xercesc 2.4, and the resulting str_data was NULL.
After upgrading to xercesc 2.8, I now get a char array of the correct length, 
however each character is a question mark ('?')
Is there something I am doing incorrectly?? I would appreciate any help


char* str_data = XMLString::transcode(dom_node->getNodeValue());

I was originally using xercesc 2.4, and the resulting str_data was NULL.
After upgrading to xercesc 2.8, I now get a char array of the correct length, 
however each character is a question mark ('?')
Is there something I am doing incorrectly?? I would appreciate any help

________________________________________________________________________
Email and AIM finally together. You've gotta check out free AOL Mail! - 
http://mail.aol.com

Reply via email to