字符级问题,
http://expert.csdn.net/Expert/topic/1815/1815886.xml?temp=.628689

解决方案 »

  1.   

    http://expert.csdn.net/Expert/topic/1815/1815886.xml?temp=.628689 对于我们来说不行 
    因为我们是WINDOWS 2000 professional 的操作系统 作为客户端 运行不可以啊 还是乱码
    而且我们往数据库存数据是 还是乱码 不是 ? 号了
      

  2.   

    你的数据库一定要在建立时指定字符集是ZHS16GBK
      

  3.   

    http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=140988
      

  4.   

    private static String toChinese(String strvalue) {
            try{
                if(strvalue==null){
                    return null;
                }
                else{
                    strvalue = new String(strvalue.getBytes("ISO8859_1"),"GBK");
                    return strvalue;
                }
            }
            catch(Exception e){
                return null;
            }
        }