Re: Re[2]: [PHP-DEV] Bug #6173: urlencode() doesn't respect locale

From: Date: Tue, 15 Aug 2000 18:18:07 +0000
Subject: Re: Re[2]: [PHP-DEV] Bug #6173: urlencode() doesn't respect locale
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-29027@lists.php.net to get a copy of this message
On Tue, 15 Aug 2000, Michael Bravo wrote the following to Joey Smith : > Hello Joey, > Second - I do not consider myself a guru, but looking at the actual > implementation of php3_urlencode(), I feel it should be respecting > locale settings, but it doesn't. While I agree with your second point, being that there does not readily appear to be any reason why this isn't working for you, my argument is that it probably shouldn't, just because the RFC states that only ASCII characters are allowed in URLs. This may be an outdated RFC, though....I'm not sure. > > I would think that in case no actual immediate error is found in the > implementation, creating a separate urlencode function for nonUS > people would be very nice (locale_urlencode() or whatever). I'm fairly sure that the PHP Team would be more than glad to add such a function if someone were to implement it...

« previous php.dev (#29027) next »