iOS 8.3 Mobile Safari disable emoji rendering

做~自己de王妃 提交于 2019-12-12 07:55:34

问题


Apple released iOS 8.3 recently. They added a lot more Emojis and all of them are rendered in mobile safari now. For Example ▶ will be rendered to an emoji icon. is there a way to disable emoji rendering? For example via CSS or JavaScript?


回答1:


Yes you can disable these on a character by character basis by using the proper variant glyph.

The following example will render the black right pointing triangle as emoji as no variant is specified.

▶

However, if you specify the proper variant glyph you'll get the text.

▶︎

Generally speaking, ︎ gets you the text version and ️ or not otherwise specified gets you the emoji version.

See http://anthonyticknor.com/demos/emoji/ for an example in practice for the left arrow and the black heavy heart. I picked up most of what I did there from http://mts.io/2015/04/21/unicode-symbol-render-text-emoji/



来源:https://stackoverflow.com/questions/29567298/ios-8-3-mobile-safari-disable-emoji-rendering

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