I love answers like these!!!
You just put them in to you project and they work at once.
Thank you very much Thomas!
/Ludwig

-----Original Message-----
From: "Thomas Pfäfflin (ritso)" [mailto:[email protected]] 
Sent: den 30 mars 2009 09:01
To: Turbine Users List
Subject: Re: UTF-8 encoding

Hi Ludwig,

i have the following settings in my properties file to my my screens and 
forms work with UTF-8:

services.VelocityService.input.encoding=UTF-8
services.VelocityService.output.encoding=UTF-8
locale.default.charset=UTF-8
input.encoding=UTF-8

i use turbine-2.3.2 and velocity-1.3.1. UTF-8 did not work with earlier 
version.

/Thomas

Ludwig Magnusson schrieb:
> Hi!
>
> How can I make the browser display my page with UTF-8 encoding when using
> turbine and velocity?
>
> In my layout template I have the line:
>
> $page.setHttpEquiv("Content-Type", "text/html; charset=UTF-8")
>
> Which generates:
>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
>
>  
>
> The browser is still set on ISO-8895-1 however.
>
> I found some solutions for tomcat but they were all directed to jsp based
> sites. Is the problem in turbine/velocity or tomcat?
>
> /Ludwig
>
>
>   


-- 

ritso.de - Realisierung von IT- und Softwarelösungen
Thomas Pfäfflin
Benkendorffstr. 63
91522 Ansbach
Tel: 0981-9723330
Fax: 0981-9723331


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to