Permalink
Browse files

Use ISO-8859-15 encoding

  • Loading branch information...
1 parent 98fbe08 commit 495fdf63ac284c1ded819bf2fe74904e621a130a @ereslibre committed Apr 1, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/irc.js
View
@@ -590,7 +590,7 @@ Client.prototype.connect = function ( retryCount, callback ) { // {{{
(self.opt.certExpired &&
self.conn.authorizationError === 'CERT_HAS_EXPIRED')) {
// authorization successful
- self.conn.setEncoding('utf-8');
+ self.conn.setEncoding('iso-8859-15');
if ( self.opt.certExpired &&
self.conn.authorizationError === 'CERT_HAS_EXPIRED' ) {
util.log('Connecting to server with expired certificate');
@@ -614,7 +614,7 @@ Client.prototype.connect = function ( retryCount, callback ) { // {{{
}
self.conn.requestedDisconnect = false;
self.conn.setTimeout(0);
- self.conn.setEncoding('utf8');
+ self.conn.setEncoding('iso-8859-15');
self.conn.addListener("connect", function () {
if ( self.opt.password !== null ) {
self.send("NICK", self.opt.nick + ':' + self.opt.password);

0 comments on commit 495fdf6

Please sign in to comment.