echo urldecode('%E9');

Returns nothing.

It should return an accented e such as

é é %E9 é Small e, acute accent

listed here:

http://allwebco-templates.com/support/S_hex.htm

The problem is a livesearch I'm using messes up in safari so it sends all my international characters as their urlencoded value. I just want to decode them PHP side to not worry about all those characters in JS. A full string I tested on was "Készísd". In firefox it comes back perfect because it sends 'Készísd'. Safari sends 'K%E9sz%ED'.

    i get %C3%A9 for é

    echo urldecode(rawurlencode('é'));

    have you chacked safari is set to use utf8?

      6 days later

      Sorry for the delay in getting back, but I got stuck in a branch during dev. I just set everything in safari to utf-8 and still no go

        i just noticed in firebug that its actually sending the accented e as é - meaning that somehow firefox is converting it for PHP at some point, I believe. Think I should move this from coding to client side part of forums?

          Write a Reply...