4 Replies Latest reply: Jul 9, 2013 8:42 PM by EJP RSS

    URL encoding /decoding

    85560216-5b34-4c56-bb2a-8469e8294d97

      Hello

       

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

       

      Patrick