NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP UTF8 Conversion to ASCII

Chris Snyder chsnyder at gmail.com
Thu Nov 10 16:16:23 EST 2011


On Thu, Nov 10, 2011 at 4:11 PM, Peter Sawczynec <ps at blu-studio.com> wrote:

> Recently came across the issue where utf8 characters were getting
> outputted into links like so:****
>
> http://example.com/ãcenar [<< where the "a" is a special character],
> which a browser can turn to links like so: ****
>
> http://example.com/ã�cenar ****
>
> ** **
>
> In researching, I have found that browsers do not handle special utf8
> characters in urls very well.****
>
>
>
Seems like this is exactly what urlencode() is for, no?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20111110/e120197b/attachment.html>


More information about the talk mailing list