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:
parent
586c38eab4
commit
5d5f871c63
@ -19,7 +19,7 @@ local function subaccent(text)
|
|||||||
for _, c in pairs(accent_chars) do
|
for _, c in pairs(accent_chars) do
|
||||||
text = text:gsub(c[1], c[2])
|
text = text:gsub(c[1], c[2])
|
||||||
end
|
end
|
||||||
return text:gsub(stripped_chars, "")
|
return text
|
||||||
end
|
end
|
||||||
|
|
||||||
-- TODO: Add proper conversion from CP1252 to UTF-8.
|
-- TODO: Add proper conversion from CP1252 to UTF-8.
|
||||||
|
Loading…
Reference in New Issue
Block a user