搜尋 Mozilla 技術支援網站

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

了解更多

unicode character from public area wont appear

  • 2 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 mgoebel

more options

Dear Supporter,

My website sends a character from the private block, that is supported by my font. unfortunately firefox doesnt render it - but at least webkit does. In my xhtml you find (without the spaces): & # x E0000; & # x E0001;

So i tried placing the character in the CSS content in a pseudo class, but the result is a tux !?!???!?

On the screenshot you can see that it doesnt appear in the source code - i also dont see the character if i use "view source" from context menu. but my code inserts it to the xhtml output and webkit shows the character. Is there any best practice on integrating those characters.

Have a look at: http://fontane-nb.dariah.eu/00test.html

Dear Supporter, My website sends a character from the private block, that is supported by my font. unfortunately firefox doesnt render it - but at least webkit does. In my xhtml you find (without the spaces): & # x E0000; & # x E0001; So i tried placing the character in the CSS content in a pseudo class, but the result is a tux !?!???!? On the screenshot you can see that it doesnt appear in the source code - i also dont see the character if i use "view source" from context menu. but my code inserts it to the xhtml output and webkit shows the character. Is there any best practice on integrating those characters. Have a look at: http://fontane-nb.dariah.eu/00test.html
附加的畫面擷圖

由 mgoebel 於 修改

被選擇的解決方法

The characters are in the page code, but do not show.

The characters are encoded as Surrogates: �� and �� I'm not sure if Surrogates work in Firefox.

  • data:text/html;charset=utf-8,test: %F3%A0%80%81
從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

The characters are in the page code, but do not show.

The characters are encoded as Surrogates: �� and �� I'm not sure if Surrogates work in Firefox.

  • data:text/html;charset=utf-8,test: %F3%A0%80%81

由 cor-el 於 修改

more options

Thank you very much for the reply. I checked the encoding and there is probably a bug in the database, that is responsible for the translation to surrogates.

back to firefox: I change the code and inserted the character as hex and decimal unicode pointer. and the result is the tux, as mentioned before, while the font is mapped to the paragraph and the character is supported by the font. i also tried to include css font-range ( unicode-range:U+0025-E0004; ), which does not have any effect.

http://fontane-nb.dariah.eu/00test.html

thanks for your help, mathias


edit: Ahh sorry. I got it. I am in the wrong block! OK, thanks for your help!

由 mgoebel 於 修改