tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Migrating to tomcat 6 gives formatted currency amounts problem
Date Fri, 12 Sep 2008 16:46:24 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

André Warnier wrote:
> The pages served by that webapp are the same html pages, all of them
> having a declaration <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">.

Note that using META tags to set character sets is a bit dangerous.
You're telling the client to ignore the character set indicated by the
server which was (probably) responsible for encoding the document in the
first place. For static documents, where the server doesn't know any
better, and is probably sending binary data and doing no interpretation
or encoding of any kind, it's probably okay.

> The pages also *are* properly encoded as iso-8859-1 (100% positive, I
> know the difference).

So, for instance, the British pound symbol in your source documents
(read using an ISO-8859-1-configured viewer) looks correct?

> The browser receiving the pages is always the same one, same settings.

Did you check the md5sum of that page on both the client and the server?
I suspect they are actually different.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjKnOAACgkQ9CaO5/Lv0PBbBQCguAzYccOcY1sCgTbsxlXi5Lq5
SfQAn0HMhCIjmL5VENVqvOkwi1G73pI8
=FCfS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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


Mime
View raw message