Percent-encoding in an URI
-
01-06-2021 - |
Question
I would like to know how can I convert URI:
%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9%20%D1%8F%D0%B7%D1%8B%D0%BA
to
русский язык
I know about urldecode
function in PHP. I'm looking for the same function in Java(Android). Could anybody help me? Thanks.
Solution
see this.. may be helpfull.. its a straight forward thing..
Uri.decode("%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9%20%D1%8F%D0%B7%D1%8B%D0%BA");
OTHER TIPS
I've found answer:
java.net.URLDecoder.decode(URI)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow