make sure also that you set file.encoding=utf8 in tomcat's startup options so that the 
jvm also operates in that mode.

ADC

> -----Original Message-----
> From: Ben Bookey [mailto:[EMAIL PROTECTED]
> Sent: 31 August 2004 16:00
> To: Tomcat User List
> Subject: JSP/HTML Encoding
> 
> 
> 
> 
> Dear List,
> 
> I am having unexpected results when setting the encoding of my
> inputForm.jsp, to iso-8859-15 (changing from
> iso-8859-15 to iso-8859-1 will allow me to use the Euro 
> symbol and a few
> others). When i give a Euro symbol into a form input control, 
> the client
> ends up saving a question-mark instead, which is exactly what 
> happens then I
> leave the standard iso-8859-1 encoding(the jsp default). I am 
> using Tomcat 5
> and Internet Explorer 6.x which supports charset=iso-8859-15.
> 
> Here is my jsp page header attributes.
> 
> <%@ page language="java" errorPage="myErrorPage.jsp"
> pageEncoding="iso-8859-15" contentType="text/html; 
> charset=iso-8859-15"%>
> 
> If by setting the above jsp attributes, do I still need to 
> set (inside the
> <html><head> tag) like this ?
> 
> <meta http-equiv="Content-Type" content="text/html; 
> charset=iso-8859-15"/>
> 
> Another factor which might be affecting the encoding of my 
> input form, is
> that its a page within a frameset, and it could be that the 
> parent frame
> HTML page might be incorrectly pre-determining the encoding 
> of the whole
> frameset overriding the child frame settings.
> 
> 
> kind regards,
> Ben Bookey
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to