From: Jack Allnutt Date: Thu, 17 Nov 2011 14:13:38 +0000 (+0000) Subject: Use UTF-8 encoding for the IRCConnection socket X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0a401b0e16c89886b275d2c8c2ffc1833613dc4f;p=KiwiIRC.git Use UTF-8 encoding for the IRCConnection socket --- diff --git a/server/app.js b/server/app.js index 3971409..8da196c 100644 --- a/server/app.js +++ b/server/app.js @@ -921,7 +921,7 @@ this.IRCConnection = function (websocket, nick, host, port, ssl, password, callb ircSocket = tls.connect(port, host, {}, onConnectHandler); } - ircSocket.setEncoding('ascii'); + ircSocket.setEncoding('utf-8'); this.IRC = {options: {}, CAP: {negotiating: true, requested: [], enabled: []}, registered: false}; this.on('error', function (e) {