I've got a html file with a lot of %-encoded UTF-8 text in URLs.
For example "%D1%80%D0%B5%D1%81%D1%83%D1%80%D1%81%D1%8B" stands for "ресурсы" ("resources" in Russian).
The task is to replace all such substrings with readable UTF-8 text.
To simplify the task we can consider there is no other %
sign usage in the file. Letter digits can be both upper and lower case.
I suspect this can be done elegantly with sed
, perl
, awk
or something but don't know how.
This web application seems to do the trick with text you paste there.