public static String string2UnicodeNumber(String s) {
		try {
			StringBuffer out = new StringBuffer("");
			StringBuffer temp = null;
			StringBuffer number = null;
			byte[] bytes = s.getBytes("unicode");
			for (int i = 2; i < bytes.length - 1; i += 2) {
				temp = new StringBuffer("&#");
				number = new StringBuffer("");
				String str = Integer.toHexString(bytes[i + 1] & 0xff);
				for (int j = str.length(); j < 2; j++) {
					temp.append("0");
				}
				String str1 = Integer.toHexString(bytes[i] & 0xff);
				// 十进制转化为十六进制，结果为C8。
				// Integer.toHexString(200);
				// 十六进制转化为十进制，结果140。
				// Integer.parseInt("8C",16);
				number.append(str1);
				number.append(str);

				BigInteger bi = new BigInteger(number.toString(), 16);
				String show = bi.toString(10);

				temp.append(show + ";");
				out.append(temp.toString());
			}

			return out.toString();
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
			return null;
		}
	}