Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cool Fire
nanobot4
Commits
75ffe728
Commit
75ffe728
authored
May 01, 2019
by
Cool Fire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force UTF-8 encoding
parent
181a5e43
Pipeline
#1475
passed with stages
in 5 minutes and 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ircparser.rb
ircparser.rb
+1
-1
No files found.
ircparser.rb
View file @
75ffe728
...
...
@@ -81,7 +81,7 @@ class IRCParser
@output
.
debug_extra
(
"==> "
+
line
+
"
\n
"
)
# Ensure UTF-8 encoding for all input
line
.
encode!
(
E
ncoding
::
UTF
_8
)
line
=
line
.
force_e
ncoding
(
'
UTF
-8'
)
# Regular and server messages
if
(
line
=~
/^:/
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment