标签:oid lang mon apach ati code aac str com
import org.apache.commons.lang.StringEscapeUtils; public class EscapeHtml { /** * @param args */ public static void main(String[] args) { String aac = StringEscapeUtils.escapeHtml("我的天啊"); System.out.println(aac); String aa = StringEscapeUtils.unescapeHtml(aac); System.out.println(aa); } }
标签:oid lang mon apach ati code aac str com
原文地址:https://www.cnblogs.com/henuyuxiang/p/9036441.html