Hello Joseph. Are you explicitly setting the response encoding, like this?

response.setContentType("text/html; charset=UTF-8");

Also, I think the problem with your page directive not applying to includes
may have something to do with your include method. Are you using
<jsp:include> or <%@ include > ? <%@ include > just inserts static content.
<jsp:include> is more dynamic and is almost like a forward.

HTH,
Patrick Quinn
Allaire Consulting

-----Original Message-----
From: Joseph Delaney [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 10:21 AM
To: JRun-Talk
Subject: UTF-8


I have tried several methods for changing the default encoding for 
our jsp pages to "UTF-8", but none of them seem to work reliably. 
Using an @ page statement works only if there are no other pages 
included.

What is the best method for getting JRun to default to UTF-8? We are 
setting up a multilingual site and we never want the browser to get a 
page encoded as Latin-1.

Thanks for any input.
-- 
Joseph Delaney
--------------
Teaching Excellence Center
Rutgers University
(732) 932-7466
<http://TeachX.rutgers.edu/>
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
  • UTF-8 Joseph Delaney
    • Pat Quinn

Reply via email to