Emoji 过滤问题请教

黑色、幽默 发布于 2014/04/15 12:49
阅读 517
收藏 0

@彭博 你好,想跟你请教个问题:


我看过你的EmojiFilter,帮了我很大忙,我想问下


private static boolean isEmojiCharacter(char codePoint) {
		return (codePoint == 0x0) || (codePoint == 0x9) || (codePoint == 0xA)
				|| (codePoint == 0xD)
				|| ((codePoint >= 0x20) && (codePoint <= 0xD7FF))
				|| ((codePoint >= 0xE000) && (codePoint <= 0xFFFD))
				|| ((codePoint >= 0x10000) && (codePoint <= 0x10FFFF));
	}

你是从何处得到Emoji一定在这些字段之间的?

加载中
0
彭博
彭博

很忧桑的告诉你,我 google 的这段代码的说 

返回顶部
顶部