摘要: /** * UCS2解码 * * @param src * UCS2 源串 * @return 解码后的UTF-16BE字符串 */ public static String DecodeUCS2(String src) { byte[] bytes = new byte[src.length() / 2]; for (int i = 0; i < src.length(); i += 2) { bytes[i / 2] = (byte) (Integer .parseInt(src.substring(i, i + 2), 16)); ... 阅读全文
posted @ 2013-11-03 21:10 一笔雕凿的人生 阅读(258) 评论(0) 推荐(0)