public String 2Unicode(String str) { StringBuffer sb = new StringBuffer(); int temp = 0; for (int i = 0; i < str.length(); i++) { temp = str.charAt(i); sb.append("/u"); sb.append(Integer.toHexString(temp)); } return sb.toString();}