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 bu...@apache.org on 2003/12/04 17:22:04 UTC
DO NOT REPLY [Bug 25206] New: -
Chinese characters are trashed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25206>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25206
Chinese characters are trashed
Summary: Chinese characters are trashed
Product: Xerces-C++
Version: 1.4
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: walter.barnie@ca.com
We are using xerces, release 1.3 to build an XML DOM tree in memory then write
the document out. I realize this is an old release and at this time I’m not
able to change the release. This program also generates htm. We are having a
problem when text is entered in Chinese. The htm file generated has correct
Chinese character, the XML documented generated has garbage. The same OS is
being used for both htm and xml. I the code set being used is gb2313 and we’re
specifying UTF-8 on the XML prolog. I have traced into DOMString.cpp. I know
the string is okay going into the XML tree and is garbage when it comes out. I
have not been able to fine the place where it’s getting trashed. I hope you
will be able to help me determine what the problem is. I’m not certain that
this is a program bug or an environment.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org