It's a pet peeve that the name GetStringUTFChars is deeply misleading - there are many "UTF"s, and this encoding is meant for use with the JVM only. The documentation should make it clearer that this is NOT the UTF-8 you might expect. > >