Unicode 转入中文

Unicode 转为中文public void testDecoder() throws UnsupportedEncodingException {String string S

Unicode 转为中文

public void testDecoder() throws UnsupportedEncodingException {String string = "&#32993;&#26000;&#65292;&#27809;&#26377;&#29256;&#26435;";String str = string.replaceAll("&#", ",").replaceAll(";", "");String[] s2 = str.split(",");StringBuffer s1 = new StringBuffer();for (int i = 1; i < s2.length; i++) {int a = Integer.parseInt(s2[i]);s1.append((char) a);}System.out.println(s1);}

?