You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by sandip shahane <sa...@yahoo.com> on 2006/08/01 14:34:21 UTC

using wstring?

Hello all,
 Now that I have got compilable source code and
library available i am looking to write test code. One
thing i want to know is, is there any kind of wstring
support with xerces? My application is intended to use
wstring based class (It is must since all code base
that was earlier on windows is using wstring, and now
i want to port it to other platforms of UNIX). Also it
shall support I18 viz. foreign language character set
e.g. japanese etc... I have seen XMLString examples at
some places that does ::transcode(...) to and fro
XMLCh * to char * . What does this transcode(...) do?
If possible my strategy is to use this way to get char
* from xerces's XMLCh * and convert it back to wstring
using wcstombs and vice versa.
Has anybody done this way, any issues, or alternatives
because i think this is going to be too expensive.
Is there any better way? Or has anybody used any other
simpler way? If so, some sample code will be greatly
helpful.

Thanks,
Sandeep Shahane

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: p-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: p-dev-help@xerces.apache.org