标签:use utf-8 code encode encoder java 中文字符 username java.net
Cookie c = new Cookie("username", java.net.URLEncoder.encode(name,"utf-8"));
java.net.URLDecoder.URLDecoder.decode(c.getValue());
标签:use utf-8 code encode encoder java 中文字符 username java.net
原文地址:https://www.cnblogs.com/caoleiCoding/p/9135793.html