解决中文页面乱码

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhanghe687/article/details/78404920
String str = new String("xxx".getBytes("iso-8859-1"),"utf-8");

猜你喜欢

转载自blog.csdn.net/zhanghe687/article/details/78404920