Mauro Piccini wrote:

I have some problem related to encoding.
I'm sending data to a Turbine application with special chars. Data are correctly stored in the db but when I ask back for the data and I print them ina a Velocity template, I only see strange characters.


In TurbineResource.properties I have:
services.VelocityService.input.encoding=iso-8859-1
services.VelocityService.output.encoding=iso-8859-1
....
locale.default.charset=iso-8859-1

and in the template :
$page.setHttpEquiv("Content-Type","text/html; charset=iso-8859-1")

I'm using turbine 2.3.

I've tried all the combination of this parameters but nothing seems to change.

This may seem somewhat counter intuitive since the data is stored correctly, but can you confirm that you are setting the correct encoding in your JDBC driver configuration.


Scott

--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





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



Reply via email to