title: Convert string to proper URI format?
body: <p>Is there any easy way to convert email address string into proper URI format?  </p>
  
  <p>Input:  </p>
  
  <pre><code>http://mywebsite.com/validate_email/3DE4ED727750215D957F8A1E4B117C38E7250C33/myemail@yahoo.com  
  </code></pre>
  
  <p>Output should be:  </p>
  
  <pre><code>http://mywebsite.com/validate_email/3DE4ED727750215D957F8A1E4B117C38E7250C33/myemail%40yahoo.com  
  </code></pre>
  
  <p>If I didn't do the output, I get an error response like  </p>
  
  <pre><code>An Error Was Encountered
  The URI you submitted has disallowed characters.
  </code></pre>
  
  <p>Thanks in advance !  </p>