Hi,

I am using xerces 2.7 for my C++ Application. I am testing following
scenario on Windows x64 platform with Japanese locale (i.e everything is in
Japanese including Windows Menus, Buttons...). I am using Visual Studio 2005
for development.

I see issue in following line:
==============================
XMLCh *xmlTransCode = XMLString::transcode(name.c_
str());
==============================

When name is キュメン I get xmlTransCode as キュメン (i.e. no difference, working
fine.)

But when name is キュメント I get xmlTransCode as キュメンxE3x83  (note that the last
character ト is changed to some wired characters which does not get
copy-paste, problem).

If I move this last character to some other location, say to first location:
name is トキュメン I get xmlTransCode as トキュメン (i.e. no difference, working
fine.)

This looks like happening to specific Japanese characters. I do not
understand Japanese and have no idea what the character stands for.

Can somebody please help me with any inputs on this? Can I achieve the same
thing using some different code? Any pointers would be highly appreciated.

Regards,
Ganesh

Reply via email to