When you view the displayed page in your browser, what encoding does
the browser think the page is in?  (in Firefox, this is View/Character
Encoding).  If you set it manually in the browser to UTF-8, does it
display correctly?

WILL

On 1/19/07, Latman, Jay <[EMAIL PROTECTED]> wrote:
Hello Velocity team,



I'm trying to resolve a problem with velocity templates not being encoded
correctly.

I'm using Spring framework with VelocityView templates implementation.



When my controller creates a ModeAndView and passing an object containing
UTF-8 encoded data, the data is not being displayed properly when written by
the VelocityView.

If I try to display the same page, outside of velocity (by copying page
content into a file and using the same browser to display it, it displays
correctly).

The velocity.properties values are set (input.encoding=UTF-8,
output.encoding=UTF-8).

On the output, the response.encoding is set to UTF-8.



I've spent 4 days trying to fix this issue at no avail.



Please help.



Jay Latman





--
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to