Skip to content

Strings in Lua do not use Lua 5.1+ escape sequences #54

Description

@jonahbeckford

Per https://www.lua.org/manual/5.4/manual.html the string.len("a\000bc\000") return value should be 5 not 9.

Switch over to fmlib_parse which does Unicode parsing correctly, and where we have already done similar escape sequences for JSON.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions