Hebrew: force character encoding to Hebrew-Windows

User Help for Mozilla Firefox
Post Reply
Josephus Flavius
Posts: 3
Joined: September 19th, 2007, 9:13 am

Hebrew: force character encoding to Hebrew-Windows

Post by Josephus Flavius »

Is there a way to force character encoding to Hebrew-Windows when either: i) the web page is designed to display in Hebrew-Visual or ii) whenever the web page text is Hebrew?

Hebrew-Visual routinely fails to perform the R to L text display.

Thanks!
J
expect
the
unexpected
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Post by trolly »

Problems with a special web site? If windows-1255 resp. ISO-8859-8-I/ISO-8859-8/IBM-862/MacHebrew (and also all unicode encodings) is sent as encoding hebrew should display fine.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
Josephus Flavius
Posts: 3
Joined: September 19th, 2007, 9:13 am

Post by Josephus Flavius »

Not one website, but quite a few. As I indicated myself, if the website sends Hebrew-Windows (1255) everything is great ( see page: http://www.haaretz.co.il ) but if it sends Hebrew-Visual (ISO 8859-8) the R to L goes L to R (see page: http://www.haaretz.co.il/hasite/pages/L ... ntrassID=0 ) On the latter, it's the navigation bar on the left side of the page that's mis-formed, displaying L to R - by manually changing character encoding to Hebrew-Windows the text is displayed correctly. This problem is not limited to navigation bars or tables: many paragraphs (sometimes only the beginning of paragraphs or the way the text handles numerics) are incorrect in Hebrew-Visual (ISO 8859-8).

Finally, Internet Explorer (ver. 6.0) is able to recognize that very same page as a L to R text, including the text in the navigation bar. At least after you re-load the page which is sometimes necessary on some of these problem pages.

Back to my original question, then: is there a way to force FF to display in Hebrew-Windows (1255) whenever it encounters Hebrew-Visual (IS) 8859-8) or whenever it encounters Hebrew?

Thanks!
J
expect
the
unexpected
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Post by trolly »

I do not know of any way to force an encoding.
Maybe this extension helps: https://addons.mozilla.org/en-US/firefox/addon/4066

But it looks more like a page problem. For your bad page the encoding "csISOLatinHebrew" is sent. For the correct page no encoding is sent in the headers.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
Josephus Flavius
Posts: 3
Joined: September 19th, 2007, 9:13 am

Post by Josephus Flavius »

TERRIFIC!!!

There may not be a way to force character encoding from the client side, but the Ad-On you pointed me to (Content Preferences 0.3.1) is a great work-around. As described on Ad-On page, the key is: "Firefox will remember that preference for the site you're browsing and apply it the next time you visit that site." So, for the several misbehaving pages I frequent regularly, this is an excellent solution.

Many Thanks!
J
expect
the
unexpected
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Post by trolly »

:-)
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
Tomer
Posts: 42
Joined: November 9th, 2002, 7:27 am
Location: Haifa, Israel
Contact:

Post by Tomer »

Josepus Flavius - You may be interested in more haaretz-specific addon, which is what haaretz recommend for their visitors (and even link from the sidebar rather than fix that issue) - 3rd party fix for haaretz encoding issue.


I've written about haaretz issues couple of times. http://tomer.blogli.co.il/archives/204 (Hebrew)
Tomer.

✱ Mozilla Israel ✱ http://mozilla.org.il
Post Reply