Skip to content

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

@jonahbeckford

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.

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