*Only* encode Java Strings as UTF-16 if that's default internal.