在Android Chrome中禁用unicode替换表情符号? [英] Disable unicode replacement emoji in Android Chrome?

查看:195
本文介绍了在Android Chrome中禁用unicode替换表情符号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

杂项范围中的某些Unicode字符可以很好地使用,但大多数手机将它们显示为表情符号,这是不需要的,因为它们不能通过CSS字体声明进行样式化。 我知道iOS有一个修复程序,但我还没有找到适用于Android的解决方案。是否有可能禁用它们?



示例: http ://jsbin.com/qopiyori/1/

解决方案

遇到同样的问题,找到另一个答案堆栈溢出问题,这对我有效:

add︎在带有Unicode字符的字符串的末尾,您不希望替换为表情符号图标。

如何防止Unicode字符从JavaScript呈现为HTML中的表情符号?


Certain unicode characters in the Miscellaneous range would be nice to use, but most phones display them as emoji and that is unwanted because then they can't be styled by CSS font declarations. I know there's a fix for iOS, but I have not found a solution for Android. Is it possible to disable them?

Example: http://jsbin.com/qopiyori/1/

解决方案

Had the same problem, found the answer on another stack overflow question which worked for me:

add ︎ at the end of the string with the Unicode characters you do not want to be replaced with emoji icons.

How to prevent Unicode characters from rendering as emoji in HTML from JavaScript?

这篇关于在Android Chrome中禁用unicode替换表情符号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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