Hmm, the code shows it uses lengthBytesUTF8 and stringToUTF8, at least on
incoming - so it should be ok, I think.

What version are you on? Do you have a testcase showing the problem?

On Wed, Feb 1, 2017 at 4:44 AM, Sergey Solozhentsev <
[email protected]> wrote:

> It seems that emscripten_run_script_string does not work correctly if
> return string with non ASCII symbols (e.g. cyrilic symbols)
> It allocates buffer for length of str but not utf8 length
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to