Java.lang.string Category is the category of the Java string object, since the Java string object is alive within JRE, of course, it must be encoded with Unicode. If you need to transform the String object and the Byte array, you can use:
String (byte [] bytes, int offset, int layth, string eNC);
or
String (byte [] bytes, string eNC);
To convert the BYTE array of ENC to Unicode's String object. You can also use the String object:
Byte [] getBytes (String ENC)
To convert the String object to a BYTE array.
Alternatively, you can also receive the INPUTSTREAMREADER or OUTPUTSTREAMWRITER through ByteaRrayOutputStream or byteArrayoutputStream or ByteArrayoutputStream to reach the purpose of transcoding.