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

搜尋 Mozilla 技術支援網站

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

了解更多

Character Encoding is changing random

  • 4 回覆
  • 12 有這個問題
  • 11 次檢視
  • 最近回覆由 blub

more options

Hello,

For a short while I'm having the next problem: When I am using FireFox, after a while characters on pages are showed as 'boxes'. With setting backView -> Character Encoding to ISO-8859-1 the characters are shown correctly again.

I do not understand why the character encoding is changing random to UTF-8, while I have selected the ISO-8859-1 and set automatically recognize to false.

In the options menu I have also set default 'ISO-8859-1' as default character encoding.

Hoping someone can tell me why it random changes and why the same page can be show correctly for 10 times, but the 11th time the character set has changed? And of course how can I solve this problem.

Hello, For a short while I'm having the next problem: When I am using FireFox, after a while characters on pages are showed as 'boxes'. With setting backView -> Character Encoding to ISO-8859-1 the characters are shown correctly again. I do not understand why the character encoding is changing random to UTF-8, while I have selected the ISO-8859-1 and set automatically recognize to false. In the options menu I have also set default 'ISO-8859-1' as default character encoding. Hoping someone can tell me why it random changes and why the same page can be show correctly for 10 times, but the 11th time the character set has changed? And of course how can I solve this problem.

所有回覆 (4)

more options

It is the server that determines the encoding that web pages used by sending a HTTP response header. Firefox only uses the default if the server doesn't send a header with an encoding and there is also no meta tag to specify an encoding (Tools > Page Info > General).

more options

I do know a website can determine the character encoding, but the strange part of the problem I occur is that the same page can be shown 10 times correctly, but an 11th time the characters like é and ë, are shown as 'blocks'/'questionmarks'.

Is there an explanation for that behaviour?

由 blub 於 修改

more options

That shouldn't happen randomly. A possible cause can be security software that has modified some HTTP response headers. Firefox extensions are a less likely cause.

more options

If security software should cause this behaviour, it is not logical the same page is correct for 10 times and another time not.

Could it be a bug in FireFox, or could a reinstall of FireFox work? Maybe some other settings in Windows have infulence on this?

由 blub 於 修改