例: String unicodeString = new String(eucByteArray, 0, length, "EUCJIS"); byte[] jisByteArray = unicodeString.getBytes("JIS");