Unicode displaying strange in Edge [duplicate]

我怕爱的太早我们不能终老 提交于 2019-12-13 04:18:27

问题


What I want it to look like:

What it looks like in Edge:

The Unicode character is ▶

I am assuming edge is just trying to be clever and displaying their own image for my unicode character. How do I prevnt this nonesense. I have googled with no avail.


回答1:


You might find some insight in this thread. As it turns out, there is a workaround, but you would need to change the font-family, at least for your symbol (assuming that you wrap your icon in <span> element with icon class) :

.icon {
  font-family: "Segoe UI Symbol";
}


来源:https://stackoverflow.com/questions/54277837/unicode-displaying-strange-in-edge

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!