字符串转码utf-8以及解码

1.字符串转码utf-8

URLEncoder.encode(card, "UTF-8");

2.解码

URLDecoder.decode(msg, "UTF-8")

猜你喜欢

转载自www.cnblogs.com/love-dream-88/p/11413212.html