note 124477 added to function.quoted-printable-decode

From: Date: Fri, 06 Dec 2019 12:13:39 +0000
Subject: note 124477 added to function.quoted-printable-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-213393@lists.php.net to get a copy of this message
If you're really lazy and producing HTML anyways and the end, just convert it to HTML entities and move the Unicode/ISO struggling to the document's encoding: <?php function qpd($e) { return preg_replace_callback( '/=([a-z0-9]{2})/i', function ($m) { return '&#x00' . $m[1] . ';'; }, $e ); } ?> ---- Server IP: 208.43.231.9 Probable Submitter: 103.51.167.36 (proxied: 88.67.199.163) ---- Manual Page -- http://php.net/manual/en/function.quoted-printable-decode.php Edit -- https://master.php.net/note/edit/124477 Del: integrated -- https://master.php.net/note/delete/124477/integrated Del: useless -- https://master.php.net/note/delete/124477/useless Del: bad code -- https://master.php.net/note/delete/124477/bad+code Del: spam -- https://master.php.net/note/delete/124477/spam Del: non-english -- https://master.php.net/note/delete/124477/non-english Del: in docs -- https://master.php.net/note/delete/124477/in+docs Del: other reasons-- https://master.php.net/note/delete/124477 Reject -- https://master.php.net/note/reject/124477 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#213393) next »