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