tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yair Zohar <y...@ard.huji.ac.il>
Subject Re: A Hebrew Problem
Date Mon, 15 Sep 2003 16:27:41 GMT
I wish to continue working with windows-1255 charset, unless it's 
impossible to use this charset with tomcat. is it possible to configure 
tomcat to work well with this charset ?
Yair.


Seth Newton wrote:
> I use this with success:
> 
> <%@ page contentType="text/html;charset=utf-8" %>
> 
> Why not use UTF-8 instead of some specific charset?... I use the same pages
> for 8 different languages.  I couldn't imagine the headaches I'd have if I
> specified a charset for each language.
> 
> That ramble being said, just try putting this in your jsp page, save your
> file as UTF-8 (This can be done in notepad), upload it to the web server and
> try it again.
> ----- Original Message ----- 
> From: "Yair Zohar" <yair@ard.huji.ac.il>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Monday, September 15, 2003 11:18 AM
> Subject: Re: A Hebrew Problem
> 
> 
> 
>>I have this header in the jsp page:
>>
>><Meta http-equiv="Content-Type" content="text/html; charset=Windows-1255">
>>
>>did you mean this header ?
>>
>>
>>Shapira, Yoav wrote:
>>
>>>Howdy,
>>>Did you set the content-type header for the response in tomcat?
>>>
>>>Yoav Shapira
>>>Millennium ChemInformatics
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Yair Zohar [mailto:yair@ard.huji.ac.il]
>>>>Sent: Monday, September 15, 2003 11:01 AM
>>>>To: tomcat-user@jakarta.apache.org
>>>>Subject: A Hebrew Problem
>>>>
>>>>Hello,
>>>>I have this hebrew problem:
>>>>I'm trying to include a html in a jsp page: <jsp:include
>>>>page="relativePath/fileName" flush="true" />
>>>>When it comes to a hebrew html the browser displays question marks
>>>>instead of hebrew
>>>>(no matter what charset do I choose in the browser).
>>>>The same html is viewed nicely when I get it directly as a file or when
>>>>I copy it to the apache html directory
>>>>and view it by apache (charset=Windows-1255).
>>>>System: RH9 with tomcat-4.1.18, mod_jk-2.0.43, apache-2.0.44,
>>>
>>>j2sdk1.4.2
>>>
>>>
>>>>It all works fine on an old server: RH7.1 tomcat-4.0.4 apache-1.3
>>>>mysql-connector-java-3.0.7 j2sdk1.4.0_03
>>>>Does anyone can give a solution or a direction ?
>>>>Thanks,
>>>>Yair
>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>
>>>This e-mail, including any attachments, is a confidential business
> 
> communication, and may contain information that is confidential, proprietary
> and/or privileged.  This e-mail is intended only for the individual(s) to
> whom it is addressed, and may not be saved, copied, printed, disclosed or
> used by anyone else.  If you are not the(an) intended recipient, please
> immediately delete this e-mail from your computer system and notify the
> sender.  Thank you.
> 
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 


Mime
View raw message