处理中文字符串的函数
<%! public String codeToString(String str) {//处理中文字符串的函数 String s=str; try{ byte tempB=s.getBytes("ISO-8859-1"); s=new String(tempB); return s; }catch (Exception e) { return s; } } %>
<%! public String codeToString(String str) {//处理中文字符串的函数 String s=str; try{ byte tempB=s.getBytes("ISO-8859-1"); s=new String(tempB); return s; }catch (Exception e) { return s; } } %>
暂无评论。
评论功能维护中,当前仅展示历史评论。