Marcin Jaskula wrote: > > I used to have similar problem. > I'm using Tomcat 4.0 with PostgreSQL, DB encoding LATIN-2. > I couldn't get proper characters from the page source, an input form (post > method) and from the DB. > I managed it by: > 1. The page with the input form MUST have encoding=iso-8859-2 > <meta http-equiv="content-type" content="text/html; charset=iso-8859-2"> > 2. The DB encoding LATIN-2 > 3. In the source of the jsp page: > <%@ page > contentType="text/html; charset=iso-8859-2" > .... > %> > request.setCharacterEncoding("iso-8859-2"); // just after <%@page !! before > you > // read any > argument from request > > and in the http headers: > <meta http-equiv="content-type" content="text/html; charset=iso-8859-2"> > // ^^^^^ it looks unnecessary but otherwise it doesn't work ???
Thanks. Tomcat developers... any comment? Nix. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>