Skip to content

When use in language : zh-CN, connection.rb should do code translate #16

@kiddy818

Description

@kiddy818

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))"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions