public  String   chStr(String string)
{
if(string==null){
string="";
}
               else{
try{
string=(new String(string.getBytes("iso-8859-1"),"GB3212")).trim();
}catch(Exception e){
e.printStackTrace(System.err);
                            }
               }
return string;
}