字符串换变为字节数组string.getBytes("iso-8859-1");
传输。。
字节数组变为字符串new String(string.getBytes("iso-8859-1"),"utf-8");还原了string
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3