You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Toby White <wh...@googlemail.com> on 2008/07/15 18:53:45 UTC

Tomcat charset problem

Hi,

I am a newbie in Tomcat so please be patient. =)

I have an application which uses apache tomcat to provide users with browser
access.
To deploy it I copied a war file into webapps directory.

The application uses Cyrillic characters. If I use the windows-based tool
everything is shown OK.
If I use a browser and go to the application via tomcat all the cyrillic
characters are spoilt.

This is from the source code of a webpage -
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

Let me know if you need any more information.

Thank you for your help.

Regards,
Toby

Re: Tomcat charset problem

Posted by Mark Thomas <ma...@apache.org>.
Toby White wrote:
> Hi,
> 
> I am a newbie in Tomcat so please be patient. =)
> 
> I have an application which uses apache tomcat to provide users with browser
> access.
> To deploy it I copied a war file into webapps directory.
> 
> The application uses Cyrillic characters. If I use the windows-based tool
> everything is shown OK.
> If I use a browser and go to the application via tomcat all the cyrillic
> characters are spoilt.

http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

Mark



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


RE: Tomcat charset problem

Posted by Peter Crowther <Pe...@melandra.com>.
> From: Toby White [mailto:white.tob@googlemail.com]
> The application uses Cyrillic characters. If I use the
> windows-based tool everything is shown OK.

Which Windows-based tool, doing what?  An example answer would be "Notepad, opening the source of a page in the expanded version of my WAR".

> If I use a browser and go to the application via tomcat all
> the cyrillic characters are spoilt.
>
> This is from the source code of a webpage -
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

Are you 100% sure that you have saved the page in UTF-8?

                - Peter

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