Skip to content

null char at the end of string #746

Description

@Adam5Wu

When getting a string field from json, the result string contains a null char at the end of the string (this is in addition to the usual null terminator).
As a result, if you try to append two string field obtained from json, you will get: "string1\0string2\0"

This breaks many UI functions as they generally stop at the first \0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    solution: invalidthe issue is not related to the library

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions