From 0a401b0e16c89886b275d2c8c2ffc1833613dc4f Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Thu, 17 Nov 2011 14:13:38 +0000 Subject: [PATCH] Use UTF-8 encoding for the IRCConnection socket --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.25.1