Updates:
Status: WorkingAsIntended
Comment #2 on issue 2760 by yang...@chromium.org: The problem with
windows-1251 codepage
http://code.google.com/p/v8/issues/detail?id=2760
This piece of code seems to work just fine:
v8::Local<v8::String> string = v8::String::New("Hello! Привет!");
v8::String::Utf8Value value(string);
printf("%s\n", *value);
This prints
Hello! Привет!
I cannot reproduce the problem on d8 or the shell either:
~/v8$ cat test.txt
Hello! Привет!
~/v8$ out/ia32.debug/shell
V8 version 3.20.2 (candidate) [sample shell]
read("test.txt")
Hello! Привет!
quit()
~/v8$ out/ia32.debug/d8
V8 version 3.20.2 (candidate) [console: dumb]
d8> read("test.txt")
"Hello! Привет!
"
d8> quit()
The issue seems to be on your side. Maybe your system doesn't have the
correct character set installed.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.