UTF-8 encoding

"Ludwig Magnusson" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <002801c9b0a6$d96897e0$8c39c7a0$@se>
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
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.