modifiedUtf8

Converts a String into a null-terminated, modified UTF-8 encoded byte sequence for interoperation with JNI functions.