PHP.nl

imap_utf7_encode

imap_utf7_encode

Converts ISO-8859-1 string to modified UTF-7 text

string **imap_utf7_encode** string $string

Converts to modified UTF-7 text. string

This is needed to encode mailbox names that contain certain characters which are not in range of printable ASCII characters.

stringAn ISO-8859-1 string.

Returns encoded with the modified UTF-7 encoding as defined in , section 5.1.3. stringRFC 2060

imap_utf7_decode