tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Tomcat7: French Chars not properly displaying
Date Tue, 10 Apr 2012 11:48:16 GMT
2012/4/10  <sandeep.kaur2@rsa.com>:
> Hi,
>
> In our product, we were using the default tomcat 6 installation to store our
> web pages and used to get the French character displayed properly using our
> AGENT configuration.
>

What is "AGENT"?

>
> However, as we upgraded from tomcat 6 to tomcat 7, the French characters are
> not getting displayed  using the same agent configuration and moving the
> WebPages back to tomcat 6 make the characters displayed properly in French
> format on the browser.
>
>
>
> I tried googling if there is any difference in tomcat configuration files
> when compared to tomcat 6 and tomcat 7 (specifically server.xml) but could
> not find the exact cause of the issue.
>
>
>
> Could you please throw some light with your knowledge and expertise
>

1. You cannot use the same server.xml in Tomcat 6 and Tomcat 7. You
have to start from default server.xml and add changes as needed.

2. Migration guide:
http://tomcat.apache.org/migration.html

3. There is character encodings page in the FAQ:
http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

4. Maybe you can write a sample web application that demonstrates the issue?
Things may go wrong in many places. You have to isolate the step that
goes wrong.

Check that your pages are rendered with correct Content-Type (that
includes charset value). Check that URIEncoding is configured on
Connector and that both POST and GET responses work with French
characters.

It that is OK you can go deeper, e.g. to check that you can write and
read the data correctly with your database.

I do not remember any differences between Tomcat 6 and 7 that can
cause such an issue.

Best regards,
Konstantin Kolinko

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


Mime
View raw message