title: Encode an URL with Play 2
body: <p>How can I encode an URL in a template with Play 2?</p>
  
  <p>I search a helper like this:</p>
  
  <pre><code>&lt;a href="@urlEncode(name)"&gt;urlEncode doesn't work now&lt;/a&gt;
  </code></pre>
  
  <p>I have found a <a href="https://github.com/playframework/Play20/pull/294">pull request</a>, but this doesn't seem to work with the actual play 2.0.3 release.</p>