XMLString::transcode for spanish characters are returning null on linux
-----------------------------------------------------------------------
Key: XERCESC-1478
URL: http://issues.apache.org/jira/browse/XERCESC-1478
Project: Xerces-C++
Type: Bug
Versions: 2.6.0
Environment: linux
Reporter: Rahul
Priority: Critical
const XMLCh * xmlch = dom_node->getNodeValue();
cout << XMLString::stringLen(xmlch) ;
==>returns 5
const char * c2 = XMLString::transcode(xmlch);
cout << strlen(c2);
==>returns 0
c2 returns null if the xml file has spanish characters for that node. e.g. Peña
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
This code is working on solaris.
Could any body suggest how i could fix this.
Thank you very much
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]