title: Javascript mailto string loses 'encodeURI' encoding
body: <p>Trying to create a simple 'mailto' function using javascript. I just need to be able to send some links (like: See this article  bla bla). </p>
  
  <p>Some of the links I need to send include spaces, danish chars. So I've been using the
  encodeURI() function.</p>
  
  <p>The problem arises when I try to mail the link (sample code below)</p>
  
  <pre><code>       var _encodedPath = encodeURI(path);
         var _tempString = "mailto:someemail@somewhere.dk?subject=Shared%20from%20some%20page&amp;body=" + _encodedPath;
  </code></pre>
  
  <p>If I output the _tempString to the console I get the correct encoded string. However when using the same string in 'mailto' the string loses it's encoding and returns to the way it was before.</p>
  
  <p>Any clue as to why this is?</p>
  
  <p>Thanks in advance :)</p>