Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

16Bit Unicode Name for JSClass.name

2 views
Skip to first unread message

Masquerade

unread,
May 12, 2012, 7:17:26 AM5/12/12
to
How do we specify 16bit unicode names for the JSClass.name field?
Currently it is char* type only. I tried a quick scan over the source
code and note that most of the time the |name| field is interpreted as
a UTF8 string and is atomized into 16bit JSString automatically.
However, I also discover that the functions in jsxdrapi.cpp uses the |
name| field directly without trying to interpret it as a UTF8 string?
Does that mean it is still safe to simply insert UTF8 encoded string
value in the JSClass.name if I intend to use the jsxdrapi ?
0 new messages