Apache 2 and Hebrew - updates

This is a discussion on Apache 2 and Hebrew - updates 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, on a win2000 machine - I had a problem to ...


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-14-2004
G.C.
 
Posts: n/a
Default Apache 2 and Hebrew - updates

Shalom,

I have upgraded to Apache2, with tomcat 4.1.30, on a win2000 machine -
I had a problem to see Hebrew in some of my HTML pages, which were
generated by a java servlet dynamically.

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 saw jibrish in the html pages created dynamically.

Well, the good news are there is a simple fix to this:
1) Go to regedit ->
Hkey-local-machine ->
System ->
Current system settings ->
Services -> Apache Tomcat ->
parameters.
2) Add 1 to "jvm option code" value.
3) Create a new string called "jvm option number j", where j = "jvm
option code" - 1.
4) change the value for the new string to
"-Dfile.encoding=UTF-8", without the "".
5) restart your machine.
That is it. It should help with the Hebrew!

G.C.

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

On 14 Dec 2004, G.C. wrote:

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


Did you only try to comment out or did you actually comment out?
Perhaps you used { Pascal comments } ?

> 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">


As you have been told twice, this line is irrelevant.

> Well, the good news are there is a simple fix to this:
> 1) Go to regedit ->
> [...]
> 5) restart your machine.


What's your definition of "simple"?
Apparently this procedure is sufficient but I doubt it is necessary.

--
Mars, unlike Earth, has no atmosphere.
The Chicago manual of style, 15th ed., p. 362

 
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:58 PM.


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