yekerui wrote:

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?

why don't you post in the mozilla developers javascript newsgroup: mozilla.dev.tech.javascript

--
Computer Points to Ponder #1: How come the users can find all the computer bugs and not the programmers or analysts?
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to