From:             [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.

     //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("Запись успешно 

'./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

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to