I've looked everywhere, it seems this would be common, and simple. I have a string from a database, "Ros%E9" What is the simplest way to convert it to "Rose" with an accented e?
Use Java's URLDecoder class.
Code sample:
String rose = URLDecoder.decode("Rose%E9", "UTF-8");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With