Bluehost.com Web Hosting $6.95

Apache2 and Hebrew

This is a discussion on Apache2 and Hebrew within the Windows Web Servers forums, part of the Web Server and Related Forums category; Shalom, I have upgraded to Apache2, with tomcat 4.1.30 - and now I can't see Hebrew in some ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-07-2004
G.C.
 
Posts: n/a
Default Apache2 and Hebrew

Shalom,

I have upgraded to Apache2, with tomcat 4.1.30 - and now I can't see
Hebrew
in some of my HTML pages.
I have win2000 on my machine.

I tried to comment out the line:
AddDefaultCharset ISO-8859-1
in the httpd.conf file, and all of my html pages have the tag
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
And still I see jibrish in the html pages created dynamically.
It is intersting that the static html pages with Hebrew have no
problem.
Only html pages I create on the fly (using Java Servlets) can't display
Hebrew!

Does anyone have a clue?

Thanks in advance!

  #2 (permalink)  
Old 12-07-2004
Andreas Prilop
 
Posts: n/a
Default Re: Apache2 and Hebrew

On 7 Dec 2004, G.C. wrote:

> I have upgraded to Apache2, with tomcat 4.1.30 - and now I can't see
> Hebrew
> in some of my HTML pages.


Give URLs!

> I have win2000 on my machine.


The server?

> I tried to comment out the line:
> AddDefaultCharset ISO-8859-1


You "tried" to comment out? And were not successful??

> in the httpd.conf file, and all of my html pages have the tag
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">


This META thingy doesn't matter because the HTTP MIME type (with
charset parameter) has priority. Get rid of the META thingy!
http://www.w3.org/International/O-HTTP-charset.html
http://ppewww.ph.gla.ac.uk/~flavell/...t/ns-burp.html

> Only html pages I create on the fly (using Java Servlets) can't display
> Hebrew!


Give URLs!

  #3 (permalink)  
Old 12-07-2004
Alan J. Flavell
 
Posts: n/a
Default Re: Apache2 and Hebrew

On Tue, 7 Dec 2004, Andreas Prilop wrote:

> On 7 Dec 2004, G.C. wrote:
>
> > I tried to comment out the line:
> > AddDefaultCharset ISO-8859-1

>
> You "tried" to comment out? And were not successful??


well, the answer to that still seems to be missing, doesn't it?

> > in the httpd.conf file, and all of my html pages have the tag
> > <META http-equiv="Content-Type" content="text/html;
> > charset=UTF-8">


Hmmm, do they now?

> This META thingy doesn't matter because the HTTP MIME type (with
> charset parameter) has priority.


Indeed.

> Get rid of the META thingy!


Theoretically a sound idea; but if the META thingy is only confirming
what the server says, it shouldn't be -that- harmful. If it's
disagreeing with what the server says, then the first priority is to
get the server to say the -right- thing.

If the pages are genuine, it ought to work. If they're not, then a
META which specifies utf-8 (when the server is saying the same) would
not be so terribly harmful, even if, as purists, we would rather it
wasn't there.

> > Only html pages I create on the fly (using Java Servlets) can't
> > display Hebrew!

>
> Give URLs!


Please do. It's the only way to make a speedy diagnosis.

The WWW doesn't care whether your web page is made by Java servlets,
or by magpies pecking holes in punch cards. (Sorry, that should of
course have been "penguins"). All that matters is the end result that
gets sent out from the server.
  #4 (permalink)  
Old 12-09-2004
G.C.
 
Posts: n/a
Default Re: Apache2 and Hebrew

Hi,

Sorry, I can't give urls since my machine is not open to the public, it
is part of a huge intranet...
Looks like there is a serious problem with foreign langs. in Apache2,
ah?
The funny thing is the same site works fine on a windows 2003 server
(with apache2, tomcat 4.1.29), but not on my machine (win2k, not
server).

Thanks,
G.C

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0