简体   繁体   中英

How to handle emoji in java and save into database, Then display on UI

I am sending a request on third party api. and a getting response like ⌚ Test which is actually looks like ⌚ Test on third party UI. My question is. In which format emoji's i should save into database , and how i can display the same emoji on UI as well.

please help

For this you will need to find the correct encoding to store your string in your database. Since I don't know which DB you're using, you can go trough this tutorial to understand how to define your column in DB to store the correct format. EXAMPLE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM