nostalgic · 2005-12-04 10:23:22 · 阅读: 277 trans <%! String trans(String chi) { String result = null; byte temp []; try { temp=chi.getBytes("iso-8859-1"); result = new String(temp); } catch(Exception e) { System.out.println (e.toString()); } return result; } %>