源地址:https://wenwen.sogou.com/z/q725994295.htm
Strint str = new String(bytes); //.java 文件默认的编码
Strint str = new String(bytes, “utf-8”); //unicode 2位
Strint str = new String(bytes, “gbk”); //中文简体
源地址:https://wenwen.sogou.com/z/q725994295.htm
Strint str = new String(bytes); //.java 文件默认的编码
Strint str = new String(bytes, “utf-8”); //unicode 2位
Strint str = new String(bytes, “gbk”); //中文简体