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

1.字符串转码utf-8

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

2.解码

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

posted @ 2019-08-26 16:15  Ella88  阅读(2805)  评论(0编辑  收藏  举报