Skip to content

Conversation

Validark
Copy link

@Validark Validark commented Jul 8, 2022

No description provided.

@Validark
Copy link
Author

It's pretty easy to verify this is the correct implementation btw. Just run this for all possible inputs in Lua 5.4 (and make it so utf8_char is always the custom version):

for i = 0, 1114111 do
    assert(utf8_char(i) == utf8.char(i))
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant