Re: Re[2]: [PHP-DEV] Bug #6173: urlencode() doesn't respect locale From: Joey Smith (joey <email protected>)
Date: 08/15/00

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

-- 
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>