public String TranStrType(String str) throws Exception
{
try{ 
if(str==null) 
return null; 
else 

str = new String(str.getBytes("ISO8859_1"),"gb2312"); 
return str; 

}catch(Exception e){ 
return null; 

}