I've looked everywhere, it seems this would be common, and simple. I have a string from a dat开发者_运维技巧abase, "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");
精彩评论