Here you can find the source of toUnicode(byte[] isoStr, String charset)
private static String toUnicode(byte[] isoStr, String charset)
//package com.java2s; //License from project: Open Source License import java.nio.charset.Charset; public class Main { private static String toUnicode(byte[] isoStr, String charset) { return new String(isoStr, Charset.forName(charset)); }/*from w w w .j av a 2 s. c o m*/ }