Don't remove characters above 0x80.

此提交包含在:
Diego Martínez
2017-01-11 22:37:54 -03:00
父節點 4c334e9967
當前提交 bb5f549193

查看文件

@@ -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