tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achal Patel <>
Subject Re: Charset configuration on Tomcat 6
Date Thu, 13 Jan 2011 07:27:19 GMT
HI Kolinko,
I am not blaming neither complaining about the issue but wanted help on the
issue that I am facing with.
Secondly, we have seen many such instances where Tomcat has different set of
configuration compared to other Application Servers and hence we use this
forum to get the required answers.

Attaching the Web.xml from Tomcat. I have tried everything posted on
You may look at the Default Servlet and jsp tags for the same.

Application is configured to be UNICODE compliant from JSP (having utf-8
directives), Servlet response (utf-8) and the database jdbc connection as
well is Unicode compliant (Which works on Weblogic and Websphere application

So looking at possible options or any such configuration which I may have
missed on the Tomcat 6.x.


On Thu, Jan 13, 2011 at 12:35 PM, Konstantin Kolinko <
> wrote:

> 2011/1/13 Achal Patel <>:
> > Thanks a lot Mark for responding on this.
> >
> > Scenario is: I have a web application where I want user to input Russian
> > characters (Table is UNICODE compliant).
> > The java web application, when deployed on Weblogic is accepting Russian
> > Characters and persisted correctly in the database.
> >
> > While the same application, while deployed on the Tomcat transforms
> Russian
> > characters into junk chars and the same is being persisted in the
> database.
> It is useless to blame Tomcat vs "other servers", while you have not
> done any diagnostics.
> At what step in processing does the corruption occur?
> It might to have nothing to do with Tomcat.
> Are locale settings the same on those different computers? Is database
> configuration the same?
> Have you considered to try whether the things work with some simple
> example? Step-by-step.
> > Could you please let me know the configuration required to accept correct
> > UNICODE chars on the UI?
> It depends on your UI.
> The steps are listed in "What can you recommend to just make
> everything work?" on the FAQ page,
> > FYI I have tried few options (as per Tomcat Docs) in web.xml but nothing
> > seems to be giving required results.
> Which docs? How hard did you try them? Post your web.xml.
> Best regards,
> Konstantin Kolinko
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Achal Patel.

View raw message