title: URL encoding details
body: <p>For URL encoding, I mean this (<a href="http://www.w3schools.com/tags/ref_urlencode.asp" rel="nofollow">http://www.w3schools.com/tags/ref_urlencode.asp</a>), my question is for URL encoding, shall I encode <code>param1=&lt;xxx&gt;&amp;param2=&lt;yyy&gt;</code> as a whole, or encode just <code>xxx</code> and <code>yyy</code> parts? Or shall I encode <code>param1=&lt;xxx&gt;</code> and <code>param2=&lt;yyy&gt;</code> separately? Thanks.</p>
  
  <pre><code>http://hostname/func?param1=&lt;xxx&gt;&amp;param2=&lt;yyy&gt;
  </code></pre>
  
  <p>thanks in advance,
  Lin</p>