URL Decoder not working
<p>I am trying to decode a name string which contains apostrophe. This name string is being parsed in an XML parser, so what I want to do is that the apostrophe should be displayed normally, rather than being displayed as <code>&amp;#039;</code>. I tried using the <code>URLDecoder.decode(myString, "UTF-*");</code> to decode it but to no avail. From one solution posted on StackOverflow I found that we need to use the <code>URLDecoder.decode()</code> twice. However, even that is not working. The code that I am using is:</p>

<pre><code>try {
        temp = URLDecoder.decode("Wing&amp;#039;s", "UTF-8");
        nameOrg = URLDecoder.decode(temp, "UTF-8");
    } 
catch (UnsupportedEncodingException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
</code></pre>

<p>At the end it should display <code>Wing&amp;#039;s</code> as <code>Wing's</code>, but it is displaying the same string. Any help would be great. Thanks in advance.</p>
