imap_utf8
imap_utf8
Converts MIME-encoded text to UTF-8
string **imap_utf8** string $mime_encoded_text
Converts the given to
UTF-8, if the declared charset is known to libc-client.
Otherwise the given text is decoded, but not converted to UTF-8.
mime_encoded_text
mime_encoded_text
A MIME encoded string. MIME encoding method and the UTF-8
specification are described in and respectively.
RFC2047RFC2044
Returns the decoded string, if possible converted to UTF-8.
Voorbeeld: Basic Usage
<?php
echo imap_utf8("Johannes =?ISO-8859-1?Q?Schl=FCter?=");
?>
Johannes Schlüter
imap_mime_header_decode