URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".P"
<p>How do I properly decode the string which contains % in Java
When I use <code>URLDecoder.decode()</code> i am getting the following error:</p>

<pre><code>IllegalArgumentException: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".P"
    at java.net.URLDecoder.decode(Unknown Source)
</code></pre>

<p>Is there anyway to bypass this special consideration. Or any idea on how to use % character?</p>
