You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "David Bertoni (JIRA)" <xe...@xml.apache.org> on 2005/07/15 18:13:13 UTC
[jira] Resolved: (XERCESC-1462) Does using setlocale to set other codepage will effect the transcoder made by the XMLPlatformUtils::fgTransService->makeNewLCPTranscoder()
[ http://issues.apache.org/jira/browse/XERCESC-1462?page=all ]
David Bertoni resolved XERCESC-1462:
------------------------------------
Resolution: Invalid
Please do not create Jira issues to ask questions. Instead, you can use the appropriate mailing list.
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org