為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

problem with hebrew encoding

  • 5 回覆
  • 9 有這個問題
  • 4 次檢視
  • 最近回覆由 cor-el

more options

hi,

i have a new Hebrew wordpress site and i have problem with the encoding. the explorer is works just fine, but in Firefox the Hebrew is not looking good. the automatic encoding that Firefox choosing is "Hebrew visual (iso -8859-8) , and the Hebrew is wrong , but when im manually choose the encoding "Hebrew windows (iso-1255)" the Hebrew is looking just fine , but when im browsing the site i need to change the encoding manually every page.

is there a script that can "tell" Firefox to use the good encoding for all of this site? without effecting the explorer.

TNX Matan

hi, i have a new Hebrew wordpress site and i have problem with the encoding. the explorer is works just fine, but in Firefox the Hebrew is not looking good. the automatic encoding that Firefox choosing is "Hebrew visual (iso -8859-8) , and the Hebrew is wrong , but when im manually choose the encoding "Hebrew windows (iso-1255)" the Hebrew is looking just fine , but when im browsing the site i need to change the encoding manually every page. is there a script that can "tell" Firefox to use the good encoding for all of this site? without effecting the explorer. TNX Matan

所有回覆 (5)

more options

Can you post a link?

Which encoding uses the server to send that file? Are you using a meta tag to specify the encoding?

If the server sends an encoding then that encoding will prevail and Firefox will ignore an encoding specified in the page source.


more options

hi,

http://www.phpbd.com

Which encoding uses the server to send that file? - dont know Are you using a meta tag to specify the encoding? - dont know

TNX

Matan

more options

The server doesn't send an encoding, so Firefox uses the default as specified in Tools > Options > Content for a start.
I see this in a meta tag: content="text/html; charset=HEBREW" and that is probably what makes Firefox choose the First Hebrew encoding from the list.

You can change that to:

<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
more options

how do i change it?

TNX

more options

Do you have control over the page source?

You can see the current source in View > Page Source
You will notice this line.

<meta http-equiv="Content-Type" content="text/html; charset=HEBREW" />

You will have to find a way to change the charset to windows-1255