Pass text data back to java as raw UTF-8 bytes for conversion to a Java
String rather than dealing with Modified UTF-8 in C++.