package www.mary.access; import java.io.UnsupportedEncodingException; public class Convert { public Convert() { } //这是一个通用方法,用于对中文的支持 public static String get(String s)//这里传递一个字符串,得到中文文字的正确编码, { if(s!=null) { try { s=new String(s.getBytes("ISO-8859-1")); } catch (UnsupportedEncodingException e) { // TODO Auto-generated catch block e.printStackTrace(); } } return s; } }
最近下载更多
xiaotang156 LV2
2023年11月25日
2036495585 LV9
2023年9月25日
天士大夫 LV2
2023年5月25日
1004233692 LV1
2023年4月20日
itlaolang LV5
2023年3月10日
15342201772 LV7
2022年12月4日
zwj4556 LV1
2022年11月12日
123agfargq LV3
2022年6月14日
老鹏哥 LV1
2022年6月13日
微信网友_5996815851753472 LV1
2022年6月10日
最近浏览更多
暂无贡献等级
微信网友_6815604991741952 LV1
1月10日
a2418735612 LV1
1月4日
taoshen95 LV14
2023年12月27日
asddwh LV12
2023年12月25日
xiaotang156 LV2
2023年11月25日
才旬空 LV2
2023年11月11日
abandan LV4
2023年11月5日
hongdongdong LV12
2023年10月29日
hj1172788262 LV5
2023年10月25日