Comment #2 on issue 2303 by [email protected]: korean language is broken...
http://code.google.com/p/v8/issues/detail?id=2303
The following works for me:
v8::Local<v8::Value> value =
v8::Script::Compile(v8::String::New("'가나다라마바사'"))->Run();
v8::String::Utf8Value utf8(value);
printf("%s\n", *utf8);
Apparently you have to make sure that your terminal is using utf-8 encoding
to display the output correctly.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
