TCPClient icon indicating copy to clipboard operation
TCPClient copied to clipboard

发送中文,设置编码问题

Open fjddao opened this issue 7 years ago • 0 comments

发送中文时,出现乱码: String field_content = “中文测试”; MyTCPClient.Send(field_content.getBytes(Charset.forName("UTF-8")));

不知作者是否测试过中文,或者可能是我使用方法上,有错误。

fjddao avatar Sep 10 '18 08:09 fjddao