Karl Dahlke <[email protected]> writes:

> Wel it's easy enough to transliterate every breakspace into space, and
> that would fix this problem, but would it break something else?

I think the heart of the matter is that JS_EvaluateScript cannot cope
with non-ASCII things, even if encoded in UTF8.
There are two js_Evaluate* functions:
JS_EvaluateScript and JS_EvaluateUCScript.
The documentation just says that JS_EvaluateUCScript is the Unicode
version, and it takes const jschar * rather than const char *, where
jschar is their 16-bit wide character type.
So maybe we need to be decoding our bytes to jschar * and using
JS_EvaluateUCScript?

-- Chris
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to