Ionut, -DJS_C_STRINGS_ARE_UTF8 is not the best way to access that feature, it is deprecated (but still functional) after JS 1.7.0.
Instead please invoke JS_SetCStringsAreUTF8() before your first call to JS_InitRuntime().
https://developer.mozilla.org/en/JS_CStringsAreUTF8
Wes
Ionut, -DJS_C_ STRINGS_ ARE_UTF8 is not the best way to access that feature, it is deprecated (but still functional) after JS 1.7.0.
Instead please invoke JS_SetCStringsA reUTF8( ) before your first call to JS_InitRuntime().
https:/ /developer. mozilla. org/en/ JS_CStringsAreU TF8
Wes