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 Max Slimmer <ma...@theSlimmers.net> on 2002/08/16 08:21:35 UTC
transcode not working with extended chars
I am running on a system with a japanese codepage, I load an xml file coded
in UTF-8 containing Japanese characters. When I get the data into a
DOMString and then try to map it into a char* using transcode(), the
extended (Japanese) characters are not translated.
What do I need to do to make this work?
Max Slimmer
Solutions Architect eMail: Max.Slimmer@veritas.com
Service Development - ECS Office:(707)823-4156
VERITAS Software Inc. Cell: (707)280-9299
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
RE: transcode not working with extended chars
Posted by Dean Roddey <dr...@charmedquark.com>.
Transcode uses the local code page. What is your local code page? If its
not something that can natively represent those chars, then you need to
create a transcoder for a specific target encoding, and transcode it
back to the correct encoding.
-------------------------------------
Dean Roddey
The Charmed Quark Controller
droddey@charmedquark.com
www.charmedquark.com
-----Original Message-----
From: Max Slimmer [mailto:max@theSlimmers.net]
Sent: Thursday, August 15, 2002 11:22 PM
To: Xerces-C-Dev
Subject: transcode not working with extended chars
I am running on a system with a japanese codepage, I load an xml file
coded
in UTF-8 containing Japanese characters. When I get the data into a
DOMString and then try to map it into a char* using transcode(), the
extended (Japanese) characters are not translated.
What do I need to do to make this work?
Max Slimmer
Solutions Architect eMail: Max.Slimmer@veritas.com
Service Development - ECS Office:(707)823-4156
VERITAS Software Inc. Cell: (707)280-9299
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org