Here is a small patch for allowing UTF-8 String. Hope this helps.
diff --git a/node_modules/java/src/utils.cpp b/node_modules/java/src/utils.cpp
index ded1bc4..b55c2d5 100644
--- a/node_modules/java/src/utils.cpp
+++ b/node_modules/java/src/utils.cpp
@@ -176,7 +176,7 @@ jobject v8ToJava(JNIEnv* env, v8::Local<v8::Value> arg) {
}
if(arg->IsString()) {
- v8::String::AsciiValue val(arg->ToString());
+ v8::String::Utf8Value val(arg->ToString());
return env->NewStringUTF(*val);
}
Here is a small patch for allowing UTF-8 String. Hope this helps.