See earlier discussion "Binary data in embedded V8".
Best regards,
Daniel
On Oct 12, 6:24 pm, ondras <[EMAIL PROTECTED]> wrote:
> Hi,
>
> is there some way to correctly handle binary data in V8 (and
> Javascript in general)? For instance:
>
> var s = String.fromCharCode(130);
>
> then in c++:
>
> v8::String::Utf8Value output(s);
> fprint("%s", *output);
>
> yields 2 bytes (both different from #130).
>
> Thanks,
> Ondrej Zara
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---