Re: UTF-8 encoding

"Thomas Pfäfflin (ritso)" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.