Athan writes:
> On Thu, Jan 15, 2004 at 12:14:18PM +0100, scOrpiOnn wrote:
>> all nicks that contais "~" are not recognized by irssi ;)
>
> That would be because it is RFC compliant. The IRC server(s) allowing
> ~ in nicks aren't RFC compliant.
>
> Specifically section 2.3.1 of RFC2812:
>
> nickname = ( letter / special ) *8( letter / digit / special / "-" )
> special = %x5B-60 / %x7B-7D
> ; "[", "]", "\", "`", "_", "^", "{", "|", "}"
RFC2812 documents ircnet's ircd (only). Compare with RFC1459:
<nick> ::= <letter> { <letter> | <number> | <special> }
<letter> ::= 'a' ... 'z' | 'A' ... 'Z'
<number> ::= '0' ... '9'
<special> ::= '-' | '[' | ']' | '\' | '`' | '^' | '{' | '}'
RFC2812 effectively adds "|" and "_" to <special> and allows most of
<special> as the first character of a nick. Compare with ircu, which
allows "~" anywhere in a nick. Bahamut disallows "~" although a
comment before do_nick_name() says it should be allowed.
>From a strict RFC compliance interpretation, irssi should not allow
"_" in nicknames. From the "be liberal in what you accept" doctrine,
it should allow "_" and "~", since servers allow (and have allowed)
those for a long time.
Michael Poole