日期:2014-05-20  浏览次数:20834 次

接收服务器字符串长的时候,messg=new String(ss,"UTF-8");无法转换
{
int   ch;
while   ((ch   =   iStrm.read())   !=   -1)
{
System.out.print(+ch);
bStrm.write(ch);
}
byte[]   ss=bStrm.toByteArray();
link.form.append
messg=new   String(ss, "UTF-8 ");
link.form.append( "f "+messg);
就是接收少的字符串这样是可以正常显示,但是字符串超过500个字时就,无法转换过来,接收也都有接收到字节.
各位大虾帮帮忙

------解决方案--------------------
在真机上,StringItem似乎有字数限制