Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

unicode character from public area wont appear

  • 2 trả lời
  • 2 gặp vấn đề này
  • 2 lượt xem
  • Trả lời mới nhất được viết bởi 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
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi mgoebel vào

Giải pháp được chọn

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
Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

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

Được chỉnh sửa bởi cor-el vào

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!

Được chỉnh sửa bởi mgoebel vào