2 of 2 people found this helpful
It turns out that you have to convert you strings to UTF-8 prior to calling the Row.setCharString method. Use something like:
String utf8Value = new String(value.getBytes(Charset.defaultCharset()), "UTF-8");
That should fix the problem. This really should be done for you in the SDK, or at minimum have it documented properly. Many JVMs on windows won't default to UTF-8.