Name: nl37777 Date: 01/31/2002
The JNI specification, in particular the page
http://java.sun.com/j2se/1.4/docs/guide/jni/spec/functions.doc.html
lacks the specification of the character encoding used for many of
the functions that accept char* parameters. For each function
accepting such parameters, the character encoding must be clearly
specified - as UTF-8 (meaning the real one specified by the Unicode
Consortium), Java-modified UTF-8, the default platform encoding, or
whatever is appropriate.
The lack of this specification has been contributing to bugs such
as 4258198.
======================================================================