用下面这个方法,转换一下要显示的字符:
public String getstr(String str)
{try
{String temp_p=str;
byte[] temp_t=temp_p.getBytes("iso8859-1");
String temp=new String(temp_t);
return temp;
}catch(Exception e)
{}
return "";
}
public String getstr(String str)
{try
{String temp_p=str;
byte[] temp_t=temp_p.getBytes("iso8859-1");
String temp=new String(temp_t);
return temp;
}catch(Exception e)
{}
return "";
}
好象是这样的啊!
你时时!
不行在说啊!
呵呵!