Disable unicode replacement emoji in Android Chrom

2019-03-24 18:45发布

问题:

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/

回答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?