ITeye博客

Java

共 1 篇文章

乱码总结

使用POST方法,服务器接收的中文乱码,解决方法: 客户端:URLEncoder.encode(json,"UTF-8") 服务器:new String(URLDecoder.decode(json,"utf-8"))

2014-01-15 18:20 · Java