# ircg_nickname_escape

(PHP 4 >= 4.0.6, PHP 5 <= 5.0.5)

ircg_nickname_escape — Encode special characters in nickname to be IRC-compliant

### Description

string ircg_nickname_escape ( string `$nick` )

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

### Parameters

`nick`

### Return Values

An IRC-compliant nick name.

### See Also

- ircg_nickname_unescape()