Doc #68516 [Com]: Wrong Page encoding

From: Date: Mon, 01 Dec 2014 14:21:15 +0000
Subject: Doc #68516 [Com]: Wrong Page encoding
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11712@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68516&edit=1 ID: 68516 Comment by: ti dot rcampanari at gmail dot com Reported by: ti dot rcampanari at gmail dot com Summary: Wrong Page encoding Status: Open Type: Documentation Problem Package: Translation problem PHP Version: 5.6.3 Block user comment: N Private report: N New Comment: You're right @sobak, it is on pt-BR translation. Previous Comments: ------------------------------------------------------------------------ [2014-11-28 20:04:14] sobak@php.net Thanks for your report. However, example in English version is different than you quoted. Did you mean any translation (this code seems to be very old - it uses split())? If so, please specify language version. Currently, I've categorized this bug as "translation problem". ------------------------------------------------------------------------ [2014-11-27 11:48:18] ti dot rcampanari at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.urldecode --- 1. <?php 2. $a = split ('&amp;', $querystring); 3. $i = 0; 4. while ($i &lt; count ($a)) { 5. $b = split ('=', $a [$i]); 6. echo 'Value for parameter ', htmlspecialchars (urldecode ($b [0])), 7. ' is ', htmlspecialchars (urldecode ($b [1])), "&lt;BR>"; 8. $i++; 9. } 10. ?> On line [4], '&lt' should be '<' ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68516&edit=1

« previous php.doc.bugs (#11712) next »