Unescape string

I looked everywhere, it seemed like it was commonplace and simple. I have a row from the database "Ros% E9". What is the easiest way to turn her into a Rose with an e accent?

+4
source share
1 answer

Use the Java URLDecoder class.

Code example:

String rose = URLDecoder.decode("Rose%E9", "UTF-8"); 
+11
source

All Articles