摘要:
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 阅读全文
posted @ 2013-06-20 14:02
janehlp
阅读(1497)
评论(0)
推荐(0)
浙公网安备 33010602011771号