RTX集成弹窗乱码
rtx吧
全部回复
仅看楼主
level 1
px986 楼主
sendMsgParams.append("&receiver=" + receiver);
             sendMsgParams.append("&msg=" + new String(content.getBytes("GBK"), "iso8859-1"));
             if (sender != null)
             sendMsgParams.append("&sender=" + sender);
             URL url = new URL("HTTP", Rhost, Rport,
             sendMsgParams.toString());
           HttpURLConnection httpconn = (HttpURLConnection)url.openConnection();
           String ret = httpconn.getHeaderField(3);
           szEncodeResult = httpconn.getHeaderField(5);
这段代码的问题,集成的我们的系统是用的UTF-8
2010年12月06日 03点12分 1
level 1
建议去这里http://im.qq.com/bbs/jump/rtxsdk.html询问。
2011年01月17日 11点01分 2
1