String(qs.getBytes("gb2312"),"iso-8859-1");
//Encodes this String qs into a sequence of bytes using the "gb2312" charset, storing the result into a new byte array.And then constructs a new String to be returned by decoding the new byte array using "iso-8859-1" charset.
//Encodes this String qs into a sequence of bytes using the "gb2312" charset, storing the result into a new byte array.And then constructs a new String to be returned by decoding the new byte array using "iso-8859-1" charset.
根据指定的编码返回字节数组
new String(qs.getBytes("gb2312"),"iso-8859-1");
字符串的构造函数 根据给顶的字节数组,和字符编码生成字符串