50,523
社区成员
发帖
与我相关
我的任务
分享
String text = "\\u6211\\u4eec\\u7684\\u660e\\u5929 \\u4e3a\\u6211\\u4eec\\u7684\\u672a\\u6765\\uff0c\\u4e5f\\u8bb8\\u662f\\u6211\\u592a\\u81ea\\u79c1";
String result = StringEscapeUtils.unescapeJava(text);
System.out.println(result);
text = StringEscapeUtils.escapeJava(result);
System.out.println(text);