Open kiddy818 opened 5 years ago
change "send_data_to_socket(packet.to_json)" to "send_data_to_socket(JSON.iconv("GBK", "UTF-8", packet.to_json))" and change "DataPacket.parse(raw_response)" to DataPacket.parse(JSON.iconv("UTF-8", "GBK", raw_response))"
change "send_data_to_socket(packet.to_json)" to "send_data_to_socket(JSON.iconv("GBK", "UTF-8", packet.to_json))" and change "DataPacket.parse(raw_response)" to DataPacket.parse(JSON.iconv("UTF-8", "GBK", raw_response))"