Li Wu:
Learn to think more, honouring teachers save Thanksgiving. Leaf See Root 321, rivers with one.
Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercise strong body and mind, Prudential advised and the line and cherish.
Javaee:7
javase:1.8
jstl:1.2.2
Server:tomcat 8.5
Explorer:chrome
Os:windows7 x64
Ide:myeclipse
View the string in the browser with the corresponding URL encoding (the character set of the page is UTF-8)
Code
Package Jizuiku.test;import Java.io.unsupportedencodingexception;import java.net.urldecoder;/** * URLEncoder.encode URL decoding of a string * * @author to the most bitter * @version V17.10.27 */public class Urldecoderdemo {public static void main (string[] args) Throws Unsupportedencodingexception {String truecolors = Urldecoder.decode ("%e7%bb%99%e6%9c%80%e8%8b%a6", "utf-8"); System.out.println (truecolors);}}
Effect
Learning resources: Itcast and Itheima Video library. If you have public resources, can share to me, with your resources to learn also can.
Blog post is to watch the video, into thinking written. It's good that the teacher speaks well. Blog bad, is to give the most bitter not serious.
Javaweb base Urldecoder.decode URL decoding of strings