I think that if a character is a two-byte UTF-8 character then it doesn't work, but if it's ASCII character then it works even if it'd be a special character like "@" which is represented with a single byte even in UTF-8.
Is this something fixable?
Code: Select all
t = {}
t["ä"] = "test-ä"
DebugPrint(t["ä"]) ; Works
DebugPrint(RawGet(t, "ä")) ; Works
DebugPrint(HaveItem(t, "ä")) ; Doesn't work
t["®"] = "test-®"
DebugPrint(t["®"]) ; Works
DebugPrint(RawGet(t, "®")) ; Works
DebugPrint(HaveItem(t, "®")) ; Doesn't work
t["@"] = "test-@"
DebugPrint(t["@"]) ; Works
DebugPrint(RawGet(t, "@")) ; Works
DebugPrint(HaveItem(t, "@")) ; Works