关注 !!
g z g z ......  天天在csdn 混, 面包 牛奶 会有么 ?? ^_^

解决方案 »

  1.   

    只找到一个big2gb的例子,还没有转码表
      

  2.   

    <%!
    public String getStr(String str)
    {
    try
    {
    String temp_p=str;
    byte[] temp_t=temp_p.getBytes("ISO8859-1");
    String temp=new String(temp_t);
    return temp;
    }
    catch(Exception e)
    {
    System.out.println(e.toString());
    }
    return "null";
    }
    %>吾之珍爱拿去,不成功你找我,把这个新做一个页面或者写成BEAN,方法名getStr(),例如:
    <%=rs.getString(getStr("XXXXXX"))%>
      

  3.   

    o,写成页面的话
    <%@ include file="页面名.jsp" %>
    这样导入就可以,BEAN的话您会吧,或者干脆复制粘贴到您的页面文件里,都一样
      

  4.   

    http://www-900.ibm.com/developerWorks/cn/java/java_chinese/index.shtml
      

  5.   

    to coffee_cn(coffee):
    这篇文章我也看了,不全
    这里我有篇全的:http://www.fanqiang.com/a4/b5/20010720/121000993.html另外,我看到你的照片了 ^_^
      

  6.   

    请下载: http://www.yescoming.com/zhcodeSRC.zip借压后有三个文件:Encoding.java,zhcode.java及hcutfb.txt 
    用法: 
    zhcode mycode=new zhcode(); 
    //繁体转简体 
    String Big5ToGb=mycode.convertString("繁體轉簡體",mycode.BIG5,mycode.GB2312); //简体转繁体
    String GbToBig5=mycode.convertString("简体转繁体",mycode.GB2312,mycode.BIG5);
      

  7.   

    to myblessu(寒飞):
    你这个也是只是gbk(简体)-》gbk(繁体)吧,转出来的字在big5的页面中也无法正常显示