【发布时间】:2016-05-04 02:32:28
【问题描述】:
How to convert UTF16 (emoji) to HTML Entity (hex) using java
I have the string from DB like this "\uD83D\uDE02".
I try to display this unicode emoji, it displays as ��.
I search in google to convert UTF16 to Html hex code. But i didnt get any solution. Please help me
我会将这个 unicode 显示给 Emoji 笑脸图标
【问题讨论】:
-
检查这个库github.com/vdurmont/emoji-java 还要注意,你需要支持表情符号的字体。
标签: java html jsp emoji emoticons