URL Decoding in PHP

Your string is also UTF-8 encoded. This will work:

echo utf8_decode(urldecode("Ant%C3%B4nio+Carlos+Jobim"));

Output: “Antônio Carlos Jobim”.

Leave a Comment