标签:data cape esc org commons 方法 class 需要 code
需要引用一个maven
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.5</version> </dependency>
方法为:
StringEscapeUtils.unescapeHtml3(URLDecoder.decode(data,"utf-8"))
标签:data cape esc org commons 方法 class 需要 code
原文地址:http://www.cnblogs.com/blog5277/p/6931904.html