More about urlencode and urldecode

What you want is possible but it is considerably more work that it is practical to put in. Just say decode and let PHP do the calculations
Anyway, thanks for an interesting question. Researching it taught me about both how UTF-8 works and about URL encoding in general.
First, link to an explanation of URL [...]