1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 00:08:25 +01:00

Fixed accent gsub

This commit is contained in:
LeMagnesium 2015-04-19 22:24:39 +02:00
parent 586c38eab4
commit 5d5f871c63

View File

@ -19,7 +19,7 @@ local function subaccent(text)
for _, c in pairs(accent_chars) do
text = text:gsub(c[1], c[2])
end
return text:gsub(stripped_chars, "")
return text
end
-- TODO: Add proper conversion from CP1252 to UTF-8.