微笑的脸:放松:表情符号不显示在html中 [英] Smiling Face :relaxed: emoji not displaying in html ☺

查看:222
本文介绍了微笑的脸:放松:表情符号不显示在html中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试显示网站Messenger的表情符号,并且除笑脸表情符号
更奇怪的是,我在两个网站上工作,并且其中一个表情符号正确显示,而不是在另一个网站上显示。 (它具有相同的unicode)
当我将这个表情符号复制粘贴到skype时,我会在计算机上显示but,但是在我的手机skype应用程序上它会显示正确的表情符号,因此unicode肯定是正确的。

I am trying to display emojis for a website messenger and all of the emojis display correctly except the Smiling Face emoji. Whats more bizarre is that I'm working on two websites and in one the emoji displays correctly and not on the other one. (its the same unicode) When i copy paste this emoji to skype I get ☺ displaying in the computer but on my cell phone skype app it displays the correct emoji so the unicode is correct for sure .

我如何在浏览器中显示此表情符号?是否取决于某些字体?

How can i make this emoji display in browser? Does it depend on certain font?

推荐答案

我遇到了同样的问题,并且可以通过将以下内容设置为字体系列来使其正常工作。

i had the same problem and was able to get it to work by setting the following as the font-family.

字体家族: Noto Color Emoji, Apple Color Emoji, Segoe UI Emoji,Times,Symbola,Aegyptus,Code2000,Code2001 ,Code2002,Musica,衬线,LastResort;

这篇关于微笑的脸:放松:表情符号不显示在html中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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