title: url encoding, Form encoding and mailto: encoding
body: <p>I am a little bit confused about the whole encoding issues related to HTML. I am not refering to the charset in the headers or encoding in the XML prologue. That I get. Lets me explain.</p>
  
  <p>When the "mailto:" is used along with a anchor or a submit button in a form, white space is encoded as "%20" and "line feed/carriage return/new line/end of line" is encoded as %0A. While when the enctype attribute is used on a form with a value of "application/x-www-form-urlencoded" the white space is encoded as "+" and special characters, apostrophes, percentage and other symbols are converted to their ASCII HEX equivalents. Is the value "application/x-www-form-urlencoded" an URL Encoding? So why "%20" for the first one and "+" for the second.</p>
  
  <pre><code>"mailto:someone@someplace.com?cc=carbon@copy.com&amp;bcc=blind@carbobcopy.org&amp;subject=This%20is%20the%20subject&amp;body=This%20is%20the%body%0AThis%20is%20the%20second%20paragraph"
  </code></pre>
  
  <p>In the above example white space in the subject is encoded as %20 and new line in the body is encoded as %0A.</p>
  
  <pre><code>&lt;form enctype="application/x-www-form-urlencoded"&gt;&lt;/form&gt;
  </code></pre>
  
  <p>And in the above white space will be encoded to "+". Am I missing something?</p>
  
  <p>Thanks in advance.</p>