Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

Weird symbols

more options

I am using Windows 11 and Firefox 116.0.3. Some characters like ‘ ’ “ ” — become weird symbols in Firefox when I copy and paste text containing them to html source text file. This started happening earlier this month, never happened before. Why is this happening now?

I am using Windows 11 and Firefox 116.0.3. Some characters like ‘ ’ “ ” — become weird symbols in Firefox when I copy and paste text containing them to html source text file. This started happening earlier this month, never happened before. Why is this happening now?

被選擇的解決方法

Changed to UTF-8. Problem solved. Thank you for helping me! Visit my website:

http://www.pelicanweb.org/

Luis Gutierrez

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

所有回覆 (5)

more options

That are Unicode quotes (2018:2019:201c:201d:2014) and should show fine if you paste them in a document that supports Unicode (utf-8).

What do you get if you paste them ? Do you paste then in Firefox or in a external editor ?

Can you attach a screenshot?

由 cor-el 於 修改

more options

My HTML is rudimentary. I have a text file with a template that I use for all my web pages. When I insert text that contains letters with accents or characters like ‘ ’ “ ” — and save the filetype from.txt to .html, each of these words-symbols shows up as gibberish. For example, Gutiérrez shows up as Gutiérrez. This started happening earlier this month (8/8/24 to be exact) and had never happened before. Can you help me? This is my template: http://pelicanweb.org/web.page.template.txt

more options

You get the eight-bit character representation instead of the Unicode character because you have "charset=ISO-8859-1", "Tools -> Page Info -> General" (Ctrl+I) shows: windows-1252.

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

These days you should use Unicode (utf-8) like you can see on this forum page.

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

See also:

由 cor-el 於 修改

more options

So, in my template, do I have to change this line

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

to this line

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

and do I have to do this for all my pages?

more options

選擇的解決方法

Changed to UTF-8. Problem solved. Thank you for helping me! Visit my website:

http://www.pelicanweb.org/

Luis Gutierrez