Commit c9b4b7e6 authored by Cool Fire's avatar Cool Fire
Browse files

Enforcing UTF-8 for input

parent c21936a3
......@@ -80,6 +80,9 @@ class IRCParser
def parser( line )
@output.debug_extra( "==> " + line + "\n" )
# Ensure UTF-8 encoding for all input
line.encode!(Encoding::UTF_8)
# Regular and server messages
if( line =~ /^:/ )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment