为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 6 个回答
  • 3 人有此问题
  • 8 次查看
  • 最后回复者为 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.