note 26455 added to function.imap-utf8

From: Date: Thu, 31 Oct 2002 09:53:13 +0000
Subject: note 26455 added to function.imap-utf8
Groups: php.notes 
Request: Send a blank email to php-notes+get-38820@lists.php.net to get a copy of this message
To get a complete decode to utf8 (which is the protocol with "national" characters), use these two: $subject = "=?ISO-8859-1?Q?B=F8lla?=, med =?ISO-8859-1?Q?=F8l?= i baggen"; $subject = imap_utf8($subject); $subject = utf8_decode($subject); will return the subject in 8-bit ascii. That is, both functions. knutm :-) -- http://www.php.net/manual/en/function.imap-utf8.php http://master.php.net/manage/user-notes.php?action=edit+26455 http://master.php.net/manage/user-notes.php?action=delete+26455 http://master.php.net/manage/user-notes.php?action=reject+26455

« previous php.notes (#38820) next »