表情符号范围 [英] Emoji value range
问题描述
我正在尝试从字符串中取出所有表情符号(如消毒剂)。但是我找不到一组完整的表情符号值。
I was trying to take out all emoji chars out of a string (like a sanitizer). But I cannot find a complete set of emoji values.
表情符号的UTF16值是多少?
What is the complete set of emoji chars' UTF16 values?
推荐答案
Unicode标准的Unicode®技术报告#51 包括表情符号列表( emoji-data.txt ):
The Unicode standard's Unicode® Technical Report #51 includes a list of emoji (emoji-data.txt):
...
21A9 ; text ; L1 ; none ; j # V1.1 (↩) LEFTWARDS ARROW WITH HOOK
21AA ; text ; L1 ; none ; j # V1.1 (↪) RIGHTWARDS ARROW WITH HOOK
231A ; emoji ; L1 ; none ; j # V1.1 (⌚) WATCH
231B ; emoji ; L1 ; none ; j # V1.1 (⌛) HOURGLASS
...
我相信你会想删除本文档中列出的每个字符,其中包含 Default_Emoji_Style
表情符号
。
I believe you would want to remove each character listed in this document which had a Default_Emoji_Style
of emoji
.
除了引用这样的定义列表之外,没有办法识别Unicode中的表情符号。参考常见问题解答说,它们遍布不同的块。
There is no way, other than reference to a definition list like this, to identify the emoji characters in Unicode. As the reference to the FAQ says, they are spread throughout different blocks.
这篇关于表情符号范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!