1.字符串转码utf-8

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

2.解码

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

相关文章: