public class String Convert
{
public String getString(String str)
{
try{
String temp_p=str;
String temp=new String(temp_p.getBytes("iso-8859-1"),("gb2312");
return temp;
}
catch(Exception e){}
return "NULL";
}
}谢谢
{
public String getString(String str)
{
try{
String temp_p=str;
String temp=new String(temp_p.getBytes("iso-8859-1"),("gb2312");
return temp;
}
catch(Exception e){}
return "NULL";
}
}谢谢
http://www.elearning.gov.cn/elearning/user/findclass.do?method=courselist&categoryid=57982540b6cd11d993d0f770c0a83c70&id=2
{
public String getString(String str)
{
try{
String temp=new String(str.getBytes("iso-8859-1"),("gb2312");
return temp;
}
catch(Exception e){}
return null;
}
}