Fw: ISO-8895-2 charset problem

"detlef schulze" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <005c01c293eb$da3e7880$0302000a@sixpack>
Uups. Sorry, my last post wasn't completely correct. Actually it is not the
default constructor I modified, its just the constructor that is used by the
class BasePage. I did the following (in HTMLWriter.java):

    public HTMLWriter(OutputStream outputStream)
    {
        this("text/html; charset=iso-8859-1", outputStream);
    }


Maybe the charset that is used by the HTMLWriter used by BasePage should be
made configurable somehow.

cheers,
Detlef

> I had the same problem (in my case it was 8859-1), that made forms inputs
> with german special characters unusable.
>
> Since all browser I tried seem not to care about encoding metatags in the
> <head> section and I did't want to use unicode I modified the default
> constructor of the class net.sf.tapestry.html.HTMLWriter to get rid of the
> unicode without overriding getResponseWriter in every class.
>




-------------------------------------------------------
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.