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!
http://www.bhlab.com/
Received on Saturday, 17 July 2004 01:20:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:03 GMT