Skip to content

XDR specification does not enforce string encoding but UTF-8 used #42

@bartekn

Description

@bartekn

XDR specification does not enforce string encoding but strings are encoded/decoded as UTF-8. I think it's fine for presentation but we should maybe add a warning in README. Currently if you encode and decode JSON/XDR with a string with non-utf8 chars the final JSON/XDR will be different than original one.

Similar issue: stellar/js-xdr#22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions