Re: How to get a string stored in Javascript in C/C++ in UTF8 format

David Bradley <[email protected]>
Newsgroups gmane.comp.mozilla.internationalization
Organization Road Runner High Speed Online http://www.rr.com
Message-ID <[email protected]>
Marc Gueury wrote:
> 
> I tried with wstring where the result was quite stranger.
> For a string "abc", I got a PRUnichar * that contains
> 0x6261 0x0063 like it is was still in ascii or utf8 ?
> 

Sounds like either your XPT or one of your object files are out of sync. 
   That would account for both situations. Make sure you've created an 
xpt file using xpidl and the one you just built is being used by the system.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.