Here you can find the source of unicode2String(String unicodeStr)
public static String unicode2String(String unicodeStr)
//package com.java2s; public class Main { public static String unicode2String(String unicodeStr) { StringBuffer sb = new StringBuffer(); String[] str = unicodeStr.toUpperCase().split("\\\\U"); for (int i = 0; i < str.length; ++i) if (!str[i].equals("")) { char c = (char) Integer.parseInt(str[i].trim(), 16); sb.append(c);/*from www .j a va 2 s . com*/ } return sb.toString(); } }