Just a stab in the dark here since I don't know where Polish alphabet characters lie in the code charts, but you will probably want to use UTF-8 instead of ISO-8859. We've had plenty of issues with users cutting and pasting text from RTF applications (e.g. MS Word) into our web app's text areas only to see some of the characters not be encoded correctly.

If you go this route, it's a multi-step process: you need to set the form encoding on your HTML forms (acceptCharset="UTF-8" enctype="application/x-www-form-urlencoded; charset=UTF-8"), you will need to set the character encoding in your JSP pages (<jsp:directive.page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"/>), and most importantly, you need a filter that sets the character encoding on each request (http://wiki.apache.org/tomcat/Tomcat/UTF-8) *BEFORE* you attempt to read any parameters.

I don't know what the requirements of your web app will be regarding text input, but I've discovered that you must always assume that the user will do something you didn't expect.

I've mucked around with this a bunch in resolving a ton of problems, so if you need any pointers, feel free to ask away.

--adam

Raghuveer wrote:
I am working on i18n application that needs to be worked in English and
Polish language.

This application is working on Tomcat Servers on windows system In India,
But getting Question Marks Polish language in Poland Windows System.

Is there anything that needs to be handled in "web.xml" and
"struts-config.xml" with encoding attribute?
<?xml version="1.0" encoding="ISO-8859-1"?>

I don't find any difference when modified to "ISO-8859-2"

<?xml version="1.0" encoding=" ISO-8859-2"?>

Any advice or suggestion ?



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to