您好,欢迎来到外链网!
当前位置:外链网 » 站长资讯 » 专业问答 » 文章详细 订阅RssFeed

字乱码怎么办,字符乱码的原因

来源:互联网 浏览:75次 时间:2023-04-08
public String ByteToUtf8(String a){
try {
a = new String(a.getBytes("iso-8859-1"), "UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
return a;
} 54830193