java 过滤表情符(emoji)_java过滤emoji-CSDN博客

网站介绍:文章浏览阅读2.2k次。public static String filterSupplement(String content) { StringBuilder sb = new StringBuilder(); for (char ch : content.toCharArray()) { if (!Character.isHighSurrogate(ch) && !Character.isLowSurrogate(ch)) { .._java过滤emoji