Skip to content
Snippets Groups Projects
Commit bb5f5491 authored by Diego Martínez's avatar Diego Martínez
Browse files

Don't remove characters above 0x80.

parent 4c334e99
No related branches found
No related tags found
No related merge requests found
......@@ -10,12 +10,7 @@ irc.hooks = {}
irc.registered_hooks = {}
-- TODO: Add proper conversion from CP1252 to UTF-8.
local stripped_chars = {"\2", "\31"}
for c = 127, 255 do
table.insert(stripped_chars, string.char(c))
end
stripped_chars = "["..table.concat(stripped_chars, "").."]"
local stripped_chars = "[\2\31]"
local function normalize(text)
-- Strip colors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment