Does using setlocale to set other codepage will effect the transcoder made by
the XMLPlatformUtils::fgTransService->makeNewLCPTranscoder()
------------------------------------------------------------------------------------------------------------------------------------------
Key: XERCESC-1462
URL: http://issues.apache.org/jira/browse/XERCESC-1462
Project: Xerces-C++
Type: Bug
Components: Non-Validating Parser
Versions: 2.6.0
Environment: winxp , Xerces2-6.0 , c++VC7
Reporter: gurminder singh
HI
i am try to parse an UTF-8 encoded xml document containing some japanese
strings.
when i parse the japanse strings through XMLString::trancode which by default
uses the XMLLCPTranscoder which finally make the Win32LCPTranscoder which is
not able to parse the strings correctly and give garbage characters.
Then i tried using ICU transervice by defining "XML_USE_ICU_TRANSCODER" Still
the trascoder made is on the basis of codepage returned by the call GetACP() ;
question if i use the setlocale to change the codepage to japanese from 1252
(default on XP) will it effect the transcoder returned.
can i transcode to/from something besides the local code page using
XMLString::transcode.
--
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]