title: How to encode link http contain string "|"
body: <p>i have a problem in ANDROID
  I have a ArrayList contains: TimeStart, TimeEnd
  I want to Parse a link http to JSONArray. But my link http contain char "|".
  Here are sample link: <a href="http://localhost/SilentTime.aspx?acc=abc&amp;pass=123&amp;username=test&amp;timestart=10:56|12:41&amp;timeend=10:59|13:41&amp;order=set" rel="nofollow">http://localhost/SilentTime.aspx?acc=abc&amp;pass=123&amp;username=test&amp;timestart=10:56|12:41&amp;timeend=10:59|13:41&amp;order=set</a></p>
  
  <p>I have a function read link http to JSON String, but it returns error.
  Error at char "|". 
  Error at line</p>
  
  <pre><code>    HttpPost httppost = new HttpPost(linkHttp);
  </code></pre>
  
  <p>I use function  to encode link http</p>
  
  <pre><code>    URLEncoder.encode(linkHttp, "UTF-8");
  </code></pre>
  
  <p>It's jump Exception: java.lang.IllegalArgumentException: Illegal character in query at char "|"</p>
  
  <p>How to encode char "|" ? What string i have to replace char "|" by? Thanks all!</p>