$text=" =?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= keld@dkuug.dk "; $elements=imap_mime_header_decode($text); for($i=0;$i count($elements);$i++) {echo "Charset: {$elements[$i] - charset}\n"; echo "Text: {$elements[$i] - text}\n\n";}
?php $text=" =?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= keld@dkuug.dk "; $elements=imap_mime_header_decode($text); for($i=0;$i count($elements);$i++) {echo "Charset: {$elements[$i] - charset}\n"; echo "Texte: {$elements[$i] - text}\n\n";}?