title: Decode a string in Java
body: <p>How do I properly decode the following string in Java</p>
  
  <pre><code>http%3A//www.google.ru/search%3Fhl%3Dru%26q%3Dla+mer+powder%26btnG%3D%u0420%A0%u0421%u045F%u0420%A0%u0421%u2022%u0420%A0%u0421%u2018%u0420%u040E%u0420%u0453%u0420%A0%u0421%u201D+%u0420%A0%u0420%u2020+Google%26lr%3D%26rlz%3D1I7SKPT_ru
  </code></pre>
  
  <p>When I use URLDecoder.decode() I the following error</p>
  
  <pre><code>java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "u0"
  </code></pre>
  
  <p>Thanks,
  Dave</p>