newStr  =  new  String(str.getBytes("gb2312"),"ISO8859_1"); 
->
newStr  =  new  String(str.getBytes("ISO8859_1"),"gb2312");