From 6f556eb36dffb6377f4342d47916786f3a683df6 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Sat, 22 Dec 2018 17:42:05 +0100 Subject: [PATCH] Force utf8 encoding --- lib/irc/ConnectionInstance.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/irc/ConnectionInstance.js b/lib/irc/ConnectionInstance.js index a2dc5639a..d92d0522c 100644 --- a/lib/irc/ConnectionInstance.js +++ b/lib/irc/ConnectionInstance.js @@ -331,6 +331,7 @@ ConnectionInstance.create = Promise.coroutine(function*(server, opts, onCreatedC family: server.getIpv6Prefix() || server.getIpv6Only() ? 6 : null, bustRfc3484: true, sasl: opts.password ? server.useSasl() : false, + encoding: 'UTF-8' }; if (server.useSsl()) {