tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bwasko" <bwa...@o2.pl>
Subject filter problem
Date Mon, 24 Nov 2003 12:28:39 GMT
My web.xml fragment:

<filter-name>Set Character Encoding</filter-name>
<filter-class>filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>ISO-8859-2</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

In fact when I get request.CharacterEncoding I get iso-8859-2 (Central
European) but why my national (polish) chars are wrong encoded??. For the
Strings I post submitting the form
and try to write into console I get something like ?Â???Â?.
What I am doing wrong?

Cheers Bartek






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message