Also see:
<?php
imap_mime_header_decode($sting);
?>
Don't try to decode subjects with this one... imap_mime_header_decode does a much better job at that.
imap_utf8Descriptionstring imap_utf8 ( string mime_encoded_text )Converts the given mime_encoded_text to UTF-8. MIME encoding method and the UTF-8 specification are described in RFC2047 and RFC2044 respectively.
add a note
User Contributed Notes
hans at lintoo dot dk
19-Sep-2005 07:42
Also see:
marcelo at maccoy dot com dot br
15-Feb-2005 04:01
# this script are correct with the right signs remove expression
aperez at informatica dot 24ruedas dot com
12-Jun-2004 05:48
Here's my new better function... ;)
aperez at informatica dot 24ruedas dot com
11-Jun-2004 03:05
I got issues decoding strings with spanish characters. I found encodeISO88591() function at this manual as an user note.
mogster_at_boomdesign.no
31-Oct-2002 07:53
To get a complete decode to utf8 (which is the protocol with "national" characters), use these two: | ||