客户端使用Mina编码问题
客户端用utf-8,服务器用gbk,发送英文没问题。。发送中文报错。
org.apache.mina.filter.codec.ProtocolEncoderException: java.lang.RuntimeException: Expanded by 0 but that wasn't enough for 'hello 服务器'
客户端用utf-8,服务器用gbk,发送英文没问题。。发送中文报错。
org.apache.mina.filter.codec.ProtocolEncoderException: java.lang.RuntimeException: Expanded by 0 but that wasn't enough for 'hello 服务器'
2016-09-15
举报