How to convert Unicode characters to emojis. Our process saves the emojis to Cloud DB as "utf8mb4_general_ci". I want to show them as emojis on the richTextFieldWithTables
Discussion posts and replies are publicly visible
for example in UI it shows:
testing for emojis\r\n\r\n\U0001f600 \U0001f603 \u263a\ufe0f \U0001f60e \U0001f480 \u2620\ufe0f \U0001f47d \U0001f47e \U0001f916\r\n\r\n\u261d\ufe0f \U0001f44d \U0001f44e \U0001f64f\r\n\r\n\U0001f4af \u2618\ufe0f \U0001f381 \U0001f480\r\n\r\n\U0001f600\U0001f62a\U0001f648\U0001f3a8\U0001f381\U0001f953\U0001f6f4\U0001f494
Instead of:
testing for emojis
️ ️
️
Did you already tried your approach?
That richTextField takes HTML, I think you should be able to use the HTML notation to show these characters. But it might be difficult to identify them.
https://www.w3schools.com/charsets/ref_utf_symbols.asp
The emojis are stored as unicode characters. AFAIK, Appian does not display the icon related to unicode value. We have to do some string manipulation to achieve it.
One option is to use char() function along with hex2dec() function. Please find attached screenshot.