i've tested this with german/french/spanish, should work for polish, here is the first few lines from a jsp:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@page import="com.bmw.uif.*" contentType="text/html; charset=utf-8"%> <html:html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> Pete Zybrick -----Original Message----- From: wojtek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 3:53 PM To: Struts Users Mailing List Subject: Re: CHARACTER ENCODING ! Hi, My JSP looks like that: <%@ page contentType="text/html; charset=iso-8859-2" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <html:html locale="true"> I am also setting request.setCharacterEncoding("ISO-8859-2") in every possible place ! Still the output from the forms is ???? instead of Polish chars . Anyone have got the idea what's wrong ! regards Wojtek ----- Original Message ----- From: "Martin Fekete" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, January 23, 2002 10:51 AM Subject: Re: CHARACTER ENCODING ! > in JSP you should use page directive <%@ page contentType="text/html; > charset=your encoding here" %> > > and property files must be converted to acii (f.e. using > %JAVA_HOME%/bin/native2ascii.exe) > > Feky > > ----- Original Message ----- > From: "Christopher Cheng" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Cc: "wojtek" <[EMAIL PROTECTED]> > Sent: Wednesday, January 23, 2002 3:10 AM > Subject: RE: CHARACTER ENCODING ! > > > Same here. I am building a site using English, Traditional and Simplified > Chinese. It is fine if I do not set the encoding to "big5" or whatever in > JSP header, but I have to manually change the encoding in IE. What is > strange is that if I put some chinese characters directly in the JSP, those > characters are displayed properly, but those from the property files are > disrupted. > > Anybody can help? > > -----Original Message----- > From: wojtek [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 23, 2002 1:01 AM > To: Struts Users Mailing List > Subject: CHARACTER ENCODING ! > > > Hi, > > I am using struts form some form validation (obvious isn't it?) and I came > across the following error: > > > National Polish characters returned from the forms are badly encoded ! > > I am using struts on win2k, jdk 1.3, the jsp page charset is set to > ISO-8859-2 > > Can anyone help ? > > regards > > Wojtek > > > > > -- > Myslisz o otworzeniu wlasnego sklepu internetowego? > A moze o wynajeciu stoiska w wirtualnym pasazu? > W Centrum e-biznesu mozesz miec jedno i drugie. Juz od 290 zl za rok. > Wybierz: e-witryne lub e-sklep. http://handel.getin.pl/ > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > Myslisz o otworzeniu wlasnego sklepu internetowego? > A moze o wynajeciu stoiska w wirtualnym pasazu? > W Centrum e-biznesu mozesz miec jedno i drugie. Juz od 290 zl za rok. > Wybierz: e-witryne lub e-sklep. http://handel.getin.pl/ > -- Meczy Cie poszukiwanie korzystnej oferty? Jesli TAK - podaj nam czego potrzebujesz i wybierz najlepsza propozycje Wyszukiwanie i zbieranie ofert zostaw nam. Bezplatne Oferty Kupna w Centrum e-biznesu http://ofertykupna.getin.pl -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>