title: How to deal with the URISyntaxException
body: <p>I got this error message :</p>
  
  <pre><code>java.net.URISyntaxException: Illegal character in query at index 31: http://finance.yahoo.com/q/h?s=^IXIC
  </code></pre>
  
  <p><code>My_Url = http://finance.yahoo.com/q/h?s=^IXIC</code></p>
  
  <p>When I copied it into a browser address field, it showed the correct page, it's a valid <code>URL</code>, but I can't parse it with this: <code>new URI(My_Url)</code></p>
  
  <p>I tried : <code>My_Url=My_Url.replace("^","\\^")</code>, but </p>
  
  <ol>
  <li>It won't be the url I need</li>
  <li>It doesn't work either</li>
  </ol>
  
  <p>How to handle this ?</p>
  
  <p>Frank</p>