ircg_nickname_escape

Encode special characters in nickname to be IRC-compliant (PHP 4 >= 4.0.6, PHP 5 <= 5.0.4)
string ircg_nickname_escape ( string nick )

Function ircg_nickname_escape() returns an encoded nickname specified by nick which is IRC-compliant.

See also: ircg_nickname_unescape()