Groovy Urlencode编码

 

title=‘程序邮箱’
java.net.URLEncoder.encode(title, "UTF-8") //编码
URLDecoder.decode("%C4%E3%BA%C3", "GBK") //解码

 

posted on 2020-11-12 17:53  momingliu11  阅读(1592)  评论(0)    收藏  举报