Commit 75ffe728 authored by Cool Fire's avatar Cool Fire

Force UTF-8 encoding

parent 181a5e43
Pipeline #1475 passed with stages
in 5 minutes and 21 seconds
......@@ -81,7 +81,7 @@ class IRCParser
@output.debug_extra( "==> " + line + "\n" )
# Ensure UTF-8 encoding for all input
line.encode!(Encoding::UTF_8)
line = line.force_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