Skip to content

String representation character encoding #16

@ntninja

Description

@ntninja

Just a short question here: What is the character encoding of the protocol strings? I realize that the spec only talks about bytes, but implementations expose it as strings for convenience and therefor need to convert the values. Apparently both the Go implementation and the JS implementation treat it as UTF-8, if I deciphered their code correctly. So is it really UTF-8 or is it ASCII, but using a UTF-8 conversion function was just more convenient?
Not a biggy, but this should be specified nonetheless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions