Hi all,

I'm investigating this problem and may found something. The html that is 
pushed to my browser is definitely pure Unicode ( UTF8 ), so somehow the 
HTML bytes are not been properly translated to chars. Where can I look in 
the code to make some tests ?

Thanks
Renato.

> Reply-to: "Tomcat Developers List" 
> From: "Renato" 
> Date: Fri Dec 14 15:19:28 2001
> To: "Tomcat Developers List" ,
> Tomcat Developers List ,
> , 
> Subject: Re: Tomcat 3.3 deployment - last minute problem
> 
> Hi,
> 
> This is what I'm using:
> 
> 
> 
> I saw the servlet generated in the work directory and it actually write 
the 
> response.setContentType("text/html;charset=ISO-8859-1") 
> 
> ( default type in server.xml is set to ISO-8859-1 too )
> 
> How can I know the charset of Linux ? ( I'll STW of course.. :)) )
> 
> Thanks for the promptness !
> 
> On Fri, 14 Dec 2001 08:48:31 -0800 (PST), escreveu :
> 
> > On Fri, 14 Dec 2001, Renato wrote:
> > 
> > > *** HTML pages with latin characters don't display correctly on Linux 
> ***
> > >
> > > ( JSP file with: )
> > > Ex: 
> αινσϊ
> 
> > >
> > > It's maybe a problem with the locale variables on my Linux, which I 
> don't
> > > quite understand ( tried LC_ALL, LANG, LC_CTYPE and it didn't work ) 
or
> > > Tomcat itself.
> > 
> > Do you set the charset in the page
> > setContentType("text/html;charset=8859-??") or the jsp equivalent ?
> > 
> > What charset do you use to write the page ? ( i.e. UTF or 8859-?? ) ?
> > 
> > There are few variables:
> > - Java default charset ( which is typically the same as the OS charset).
> > This is what jasper uses to read the page from disk. The page is 
converted
> > to UTF by the reader. ( you can override the charset used on each page,
> > don't remember the directive )
> > 
> > - output charset. This is specified in setContentType() or 
setCharEncoding
> > on the response, and is used to convert from UTF to the target charset.
> > 
> > 
> > Costin
> > 


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

Reply via email to