Hi, All:
After going through the documentation at the site
http://www.mozilla.org/projects/plugins/npruntime.html for plugins, I can't
figure out how to transfer a Unicode string onto javascript code.
Look at the below definition from the file npruntime.
typedef char NPUTF8;
typedef struct _NPString {
const NPUTF8 *utf8characters;
uint32_t utf8length;
} NPString;
If I have a Chinese or Japanese character strings, how do I set a
NPString so that my javascript code can see strings other than utf8
characters?
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom