Unicode 在 Edge 中显示奇怪 [英] Unicode displaying strange in Edge

查看:68
本文介绍了Unicode 在 Edge 中显示奇怪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要的样子:

Edge 中的样子:

Unicode 字符是 ▶

The Unicode character is ▶

我假设 edge 只是想聪明一点,为我的 unicode 字符显示自己的图像.我如何防止这种废话.我用谷歌搜索无济于事.

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.

推荐答案

您可能会在此线程.事实证明,有一个解决方法,但您需要更改 font-family,至少对于您的符号(假设您将图标包裹在 元素与 icon 类):

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";
}

这篇关于Unicode 在 Edge 中显示奇怪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆