java中文字符和特殊字符与unicode相互转化
/**
* unicode 转字符串
*/
private static final Pattern REG_UNICODE = Pattern.compile("[0-9A-Fa-f]{4}");
public static String unicode2String(String str) {
StringBuilder sb = new StringBuilder();
原创
2017-04-06 13:42:40 ·
5401 阅读 ·
1 评论