Pregunta

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.

¿Fue útil?

Solución

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");

Otros consejos

I've found answer:

java.net.URLDecoder.decode(URI)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top