PDA

View Full Version : Special character in server-sde java/freemarker



jtorelli
Apr 28th, 2011, 09:54 PM
Hi!

I've run across an issue with a project using Spring Surf with special characters.

If I try and pass a "special character" like a ë ( html code & euml ):

1) I use something like model.query = page.args['query'] to load the query parameter into the Freemaker model
2) I print the string in Freemarker with ${query}, the special character is converted to Å«

Is there something I need to do to tell Surf to accept UTF-16 or something?

Thanks!
Jim