摘要:
Java 中能將 html 編碼正確轉換的套件: org.apache.commons.lang.StringEscapeUtils。String source = "The less than sign (<) and ampersand (&) must be escaped before using them in HTML";String escaped = escapeHtml(source); //转义System.out.println(escaped);source = "{"zbjson":{&a 阅读全文