搜尋 Mozilla 技術支援網站

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

Learn More

Why does Firefox not display symbols and diacritic marks correctly in html pages

  • 6 回覆
  • 3 有這個問題
  • 45 次檢視
  • 最近回覆由 ender21

more options

I reset my profile because of a problem displaying a particular web page.

I am now using the reset profile. Using this profile Firefox does NOT correctly display symbols and diacritic marks in my html pages. Such pages were correctly displayed in my old profile. They are pages containing text in French and Spanish.

Examples: é «

Why aren't the symbols and marks displaying correctly in a brand new profile when they displayed correctly in my old profile.

I reset my profile because of a problem displaying a particular web page. I am now using the reset profile. Using this profile Firefox does NOT correctly display symbols and diacritic marks in my html pages. Such pages were correctly displayed in my old profile. They are pages containing text in French and Spanish. Examples: é « Why aren't the symbols and marks displaying correctly in a brand new profile when they displayed correctly in my old profile.

被選擇的解決方法

Thanks. The pages are on my computer. They are notes and bookmarks which I have created as html pages so that I can view them in my browser and open links in them.

I will look into the matter of putting a meta tag in the pages. I have no knowledge of that.

Thanks for your help.

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

What is View > Character Encoding set to? In my installation it's set to UTF-8.

more options

The default encoding is usually set to Western (ISO-8859-1) to be used when the server doesn't send an encoding and no encoding is specified otherwise.

Which encoding is used on the pages that aren't displaying properly?

Note that if the server sends an encoding and a different encoding is specified via a meta tag on BOM (Byte Order Mark) in the file that Firefox will always use the encoding send by the server.

  • Tools > Page Info > General
more options

Thank you both. The view coding was set to the default. I have now changed it to Unicode (UTF-8) and the pages display correctly.

more options

It would be best to fix this on the server or with a meta tag in the file(s) if the server doesn't send an encoding rather than changing the default encoding in Firefox as this can cause problems on other web pages that rely on a western or windows encoding and may show "?" instead.

more options

選擇的解決方法

Thanks. The pages are on my computer. They are notes and bookmarks which I have created as html pages so that I can view them in my browser and open links in them.

I will look into the matter of putting a meta tag in the pages. I have no knowledge of that.

Thanks for your help.

more options

I have implemented the meta tag suggestion. Thanks again.