Modified UTF-8 conversion for NewStringUTF
439412Sep 26 2011 — edited Sep 26 2011Hello,
I came across this documentation where NewStringUTF expects its string input to be encoded in modified-UTF8.
http://download.oracle.com/javase/1.5.0/docs/guide/jni/spec/functions.html
However, i don't see the application's code doing the conversion from c character array to modified UTF-8, for example, the '\0' character is passed as it is.
I'm assuming that the virtual machine is doing the conversion, if so, which code (file) is responsible for it?