mIRC Home    About    Download    Register    News    Help

Print Thread
#232228 25/05/11 01:43 AM
Joined: Jul 2007
Posts: 28
S
sirkit Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Jul 2007
Posts: 28
if you join a channel with a space in it,
on mIRC it will return:

Jeremy on @#charybdis #staticbox @#staticbox #systeminplace #charybdis #atheme

where on irssi it will properly return:

21:39:23 [OSCN] -!- channels : @#charybdis^\ #staticbox @#staticbox^\^\ #systeminplace #charybdis #atheme

Joined: Dec 2002
Posts: 344
D
Pan-dimensional mouse
Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 344
What network is this?

Is it a literal space (ASCII 32)?

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
A space can't be in channel names according to the IRC RFC, it's a delimiter.

Originally Posted By: ircrfc

<channel> ::= ('#' | '&') <chstring>
...
<chstring> ::= <any 8bit code except SPACE, BELL, NUL, CR, LF and comma (',')>


irssi might support it for some weird reason, but it doesn't need to be supported because no compliant IRC server should allow it.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Sep 2006
Posts: 59
R
Babel fish
Offline
Babel fish
R
Joined: Sep 2006
Posts: 59
I thought spaces can be used for IRC, they are replaced with \b just as , is \c and \ is \\

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
That's usually on IRCX networks (which also sometimes use %# as a channel prefix); the IRC protocol says nothing about using \b, \c or \\.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Not in channel names or nicks, no. Any network that allows it is not following the standard that every other network follows and therefore does not need to be supported by clients.


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2006
Posts: 59
R
Babel fish
Offline
Babel fish
R
Joined: Sep 2006
Posts: 59
Originally Posted By: hixxy
That's usually on IRCX networks (which also sometimes use %# as a channel prefix); the IRC protocol says nothing about using \b, \c or \\.


Ahh yeah you're right - forgot about that. I did think this after I had posted but then couldn't find the IRCX draft as I'm at work it's quite hard!



Link Copied to Clipboard