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
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to