Open lukewilliamboswell opened 3 months ago
Provide a warning if a Str literal contains invisible unicode characters
Str
See zulip discussion for more context
module [] # this string has invisible unicode in it... let's provide a warning to make this obvious stringWithInivisbleUnicode = "FOO" expect stringWithInivisbleUnicode == "FOO" # false
Using the real to show what the str contains.
» Str.toUtf8 "\u(feff)FOO" [239, 187, 191, 70, 79, 79] : List U8
Hey, I'm interested in working on this.
Provide a warning if a
Str
literal contains invisible unicode charactersSee zulip discussion for more context
example module
REPL
Using the real to show what the str contains.