Hello Im using v8 engine embedded in C++ program and I met a string problem.
Well of course v8 engine fully support utf8 string, but i just dont know how.
char path[ 1024 ];
GetCurrentDirectory( 1024, (LPWSTR)path );
script->Path = String::New(path);
However, the result is the only character "D", for String::New only accepts char* and utf_16*
I checked the v8 document and found no way to make a utf8 string, can anybody help me?