iOS 8.3 Mobile Safari禁用表情符号呈现 [英] iOS 8.3 Mobile Safari disable emoji rendering

查看:205
本文介绍了iOS 8.3 Mobile Safari禁用表情符号呈现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

苹果最近发布了iOS 8.3。
他们添加了更多的Emojis和所有这些都在移动safari现在渲染。
对于示例▶,将呈现为表情符号图标。
有没有办法禁用表情符号渲染?例如通过CSS或JavaScript?

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?

推荐答案

是的,可以通过使用正确的变体字形逐个字符禁用这些。

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.

http://anthonyticknor.com/demos/emoji/ 在实践中用于左箭头和黑色重心的示例。我从 http://mts.io/2015中收集了我在那里做的大部分内容/ 04/21 / unicode-symbol-render-text-emoji /

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/

这篇关于iOS 8.3 Mobile Safari禁用表情符号呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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