martynsmith / node-irc

NodeJS IRC client library
GNU General Public License v3.0
1.32k stars 422 forks source link

nicknames in Latin1 #285

Open Trinitas opened 9 years ago

Trinitas commented 9 years ago

I was playing around and noticed that if you send a nick with binary encoding its possible to make ISO-8859-1 character nick without iconv but sadly Binary is going to be removed in node. Maybe there is another way around?

ghost commented 9 years ago

Binary encoding?

Trinitas commented 9 years ago

socket.write(data, [encoding], [callback])

tested with nick: björn

self.send('NICK '+self.opt.nick+'\r\n','binary'); don't work self.conn.write('NICK '+self.opt.nick+'\r\n', 'binary'); Works Line ~726

@apeiron