1.在xsl頭加上下面這行
<xsl:output method="html" version="4.0" encoding="gb2312"/>
2.在servlet中加上:
response.setCharacterEncoding("GB2312");
String strTemp="";
strTemp=new String(str.getBytes("ISO8859_1"),"GB2312")
posted on 2008-03-08 15:46
Hank1026 閱讀(176)
評論(0) 編輯 收藏