Let's say that on the C++ side my function takes a variable of type jstring named myString. I can convert it to an ANSI string as follows:
const char* ansiString = env->GetStringUTFChars(myString, 0);
is there a way of getting
const wchar_t* unicodeString = ...