W3C home > Mailing lists > Public > www-international@w3.org > July to September 2004

Re: JSP page directive contentType overriden by Apache tomcat?

From: KUROSAKA Teruhiko <kuro@bhlab.com>
Date: Fri, 16 Jul 2004 22:18:25 -0700
Message-ID: <40F8B6A1.1090708@bhlab.com>
To: Jungshik Shin <jshin@i18nl10n.com>
Cc: www-international@w3.org

Interesting problem.
Is it just a matter of charset declaration in Content-Type header,
or are the parameters really encoded in ISO-8859-1 ?
If it's just that charset declaration is wrong but the parameters
are encoded in UTF-8, then a quick fix would be to add
META header in each JSP:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

KUROSAKA ("Kuro") Teruhiko, San Francisco, California, USA
Internationalization Consultant --- now accepting new projects!
Received on Saturday, 17 July 2004 01:20:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:24 UTC