Hi,

> That's not true; XMLString::transcode uses the local
> code page of your 
> machine, so if you are using a Japanese Unix machine
> with the correct code 
> page installed, it should just work.

When I tried to transcode, it was returning null. I
tried in couple of systems and found the same
behaviour. Also, in one of the sites, I read that it
does not support non-english character sets. So, I
thought I need to use either ICU or create a new
transcoder using XMLTransService.

Anyway, I will verify the system installation. Thanks
for the information.

> 
> Why are you creating a Unicode string to transcode
> into Unicode? If you 
> have an EUC-JP string you need a buffer like
> 
> char
>
str[]="\xC0\xEC\xCC\xE7\xB2\xC8\xA5\xE5\xA5\xB9\xA5\xC8";
> 

I was using RWCString. Since transcode was returning
null, I was trying to use UnicodeString.

> 
> Just cast the XMLByte* buffer to char*; XMLByte is
> simply a typedef for 
> unsigned char.

I will try that. 

Thanks for your help.

Regards
Prakash
> 
> Alberto
> 
> 
> >Any inputs on this will be of great help.
> >
> >Regards
> >Prakash
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Small Business $15K Web Design Giveaway
> >http://promotions.yahoo.com/design_giveaway/
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to