Chrome doesn't display special character while other browsers do

前端 未结 3 842
滥情空心
滥情空心 2021-01-17 13:21

I am trying to display character code in a breadcrumb trail navigation which forms this arrow: ❯

It displays properly in Firefox, Op

3条回答
  •  时光取名叫无心
    2021-01-17 13:51

    [Edit] Apparently, it's a known problem for UTF-16, not UTF-8. [/EDIT]

    It's a known problem. The simplest fallback is to use a Unicode surrogate pair.

    [sources]

    http://www.fileformat.info/info/unicode/char/10095/index.htm

    http://mathiasbynens.be/notes/javascript-unicode

提交回复
热议问题