搜尋 Mozilla 技術支援網站

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

Learn More

Trying to find what character was replaced with Unicode replacement character

  • 3 回覆
  • 2 有這個問題
  • 11217 次檢視
  • 最近回覆由 cor-el

more options

I am working with Firefox 52.1.2 on Ubuntu 14.04 (x86). In general I can see characters correctly, but sometimes I see a Unicode replacement character (octal 357 277 275), for example on this page:

http://www.mathhelp.com/how_to/slope-intercept_form/using_slope-intercept_form_to_graph_a_line/

I see "equation of a line is y = 3/4 x (?) 2" and I suspect from context the replaced character is a dash or minus sign.

I have verified that I enabled the option for pages to download their own fonts.

I'm trying to find out exactly what was the replaced character so that I can try to find a font to install which contains it, but when I copy and paste the text, I get the Unicode replacement character, not the original character. How can I find out what's the original character?

I tried looking at the page source -- no luck, the replacement character appears there too.

Thanks in advance for any advice.

被選擇的解決方法

The page appears to be viewed with Western encoding selected and doesn't work properly with Unicode. When I select Western then I see the – = – character instead of the diamond with the question mark: y = 3/4 x – 2

Does this works for you or is there still a problem?

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

所有回覆 (3)

more options

選擇的解決方法

The page appears to be viewed with Western encoding selected and doesn't work properly with Unicode. When I select Western then I see the – = – character instead of the diamond with the question mark: y = 3/4 x – 2

Does this works for you or is there still a problem?

more options

Yes, that fixes the problem! But I wonder why it's necessary to select the encoding. I thought that the web page would tell the browser what encoding to use. Anyway, I'm glad that I know how to fix it now, thanks a lot for your help.

more options

You're welcome.

A diamond usually indicates an encoding issue. If there is a problem with font support then Firefox would show a little box with the hex code of the character.