Is there a way to encode a URL in velocity template

Posted by fermatthrm2 on Stack Overflow See other posts from Stack Overflow or by fermatthrm2
Published on 2010-03-26T01:36:17Z Indexed on 2010/03/26 1:43 UTC
Read the original article Hit count: 595

Filed under:
|

Hi,

Excuse my ignorance but I am new to Velocity and trying to fix someone else's problem. I need to encode a URL inside the velocity template. I create a url and as part of the query string I pass in a page name a user created. This page can contain special characters like ëðû. The url would look like http://foo.com/page1/jz?page=SpecialChars_ëðû

© Stack Overflow or respective owner

Related posts about apache

Related posts about velocity