replace string.lower, string.upper with utf8 versions

This commit is contained in:
MihailRis 2024-10-27 21:39:46 +03:00
parent 3e86d49a7b
commit 329d4903d8

View File

@ -159,6 +159,9 @@ function string.trim_left(s, char)
return string.match(s, "^" .. char .. "*(.+)$") or s
end
string.lower = utf8.lower
string.upper = utf8.upper
local meta = getmetatable("")
function meta:__index(key)