[PHP-DEV] Bug #10327: "urldecode" decodes url-encoded cyrillic strings incorrectly. From: nikamir <email protected>
Date: 04/14/01

From: nikamir <email protected>
Operating system: FreeBSD 4.1-RELEASE
PHP version: 4.0.3pl1
PHP Bug Type: *URL Functions
Bug description: "urldecode" decodes url-encoded cyrillic strings incorrectly.

<?php
     //Write encoding
     echo "Src: ".urlencode("Запись успешно изменена")."<br>\n";
     //Wrong decoding
     echo "Src-Dst: ".urldecode(urlencode("Запись успешно изменена"))."<br>\n";
     //Write encoding of wrong decoding. See the difference!!!
     echo "Src-Dst-Src: ".urlencode(urldecode(urlencode("Запись успешно изменена")))."<br>\n";
?>

'./configure' '--without-x' '--enable-track-vars' '--with-apache=../apache_1.3.14rusPL30.0' '--with-mod_charset' '--with-gd' '--enable-ftp' '--with-mysql=/usr/local' '--with-pcre-regex'

Here you can see dump of phpinfo() function in our
system.
http://www.77rus.ru/manager/questions/a.php

-- 
Edit Bug report at: http://bugs.php.net/?id=10327&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>