| Index: src/Utils.cpp | 
| diff --git a/src/Utils.cpp b/src/Utils.cpp | 
| index 8542afa4942cb6eee8f2792705012fd646adacc9..790265675fb3e318992ba5fae6422178f9c40d17 100644 | 
| --- a/src/Utils.cpp | 
| +++ b/src/Utils.cpp | 
| @@ -43,9 +43,10 @@ std::string Utils::FromV8String(v8::Handle<v8::Value> value) | 
| return std::string(); | 
| } | 
|  | 
| -v8::Local<v8::String> Utils::ToV8String(const std::string& str) | 
| +v8::Local<v8::String> Utils::ToV8String(v8::Isolate* isolate, const std::string& str) | 
| { | 
| -  return v8::String::New(str.c_str(), str.length()); | 
| +  return v8::String::NewFromUtf8(isolate, str.c_str(), | 
| +    v8::String::NewStringType::kNormalString, str.length()); | 
| } | 
|  | 
|  | 
|  |