note 28168 added to function.quoted-printable-decode

From: Date: Sat, 04 Jan 2003 16:22:16 +0000
Subject: note 28168 added to function.quoted-printable-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-41659@lists.php.net to get a copy of this message
I didn't get this working, so I wrote a small replacement which worked for me: function qp_decode($string) { return preg_replace("/%([0-9A-Fa-f]{2})/e", "chr(hexdec('\\1'))", $string); } -- http://www.php.net/manual/en/function.quoted-printable-decode.php http://master.php.net/manage/user-notes.php?action=edit+28168 http://master.php.net/manage/user-notes.php?action=delete+28168 http://master.php.net/manage/user-notes.php?action=reject+28168

« previous php.notes (#41659) next »