I just taken over for some one who left the company. I am trying to figure WHY something was done.
WHY would you do the following?
String content= "Hello there, is this Jim's code?";
content = URLDecoder.decode(URLEncoder.encode(content, "ISO8859-1"), "UTF-8"));
It is prima facie nonsense and should be treated as a bug waiting to happen. Looks like the work of a committee, all in one line. :-| If the content of the string is really what you said above it is even possible that it is an introduced virus or trapdoor of some kind with a primitive obfuscation scheme. View with extreme suspicion.