projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d32123
)
Use UTF-8 encoding for the IRCConnection socket
author
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 17 Nov 2011 14:13:38 +0000
(14:13 +0000)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 17 Nov 2011 14:13:38 +0000
(14:13 +0000)
server/app.js
patch
|
blob
|
blame
|
history
diff --git
a/server/app.js
b/server/app.js
index 3971409d252cb0e8d044a3d57f0b0803bcf7be1d..8da196cbf9d4f34c21b0679d4a4ac63c5c405d17 100644
(file)
--- 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) {