Comment #2 on issue 184 by rgupta.mca: handeling ascii characters
http://code.google.com/p/v8/issues/detail?id=184
Updated v8 just few minutes back. Build with following command:
scons mode=release library=shared snapshot=off
gcc --version
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)
uname -a
Linux admin 2.6.27.9-159.fc10.i686 #1 SMP Tue Dec 16 15:12:04 EST 2008 i686
i686 i386
GNU/Linux
Code:
Handle<String> source = String::New(
"var a = {fn:'test\\050data', ln:'failed'}; a.fn + '-' + a.ln;");
Handle<Script> script = Script::Compile(source);
Handle<Value> result = script->Run();
context.Dispose();
String::AsciiValue ascii(result);
printf("%s\n", *ascii);
Is there something wrong with this code?
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---