ISO-8895-2 charset problem

Marek Janukowicz <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hello

My HTML templates are made using 8859-2 charset. I add the following
line:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">

to the <HEAD> section, but when browsing the charset is set to default.
To make the browser detect it correctly I must write something like:

	public IMarkupWriter getResponseWriter(OutputStream out) {
			HTMLWriter writer = new HTMLWriter("text/html;charset=iso-8859-2",out); 
			return writer;
	}

in my component's java class.

Is there easier way to make it work?

						
Thanks
-- 
Marek Janukowicz
http://starware.one.pl


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.