I’m having some trouble with UTF-8 and emojies.
I need to display a name that can be written in different languages and use emojies.
It seems that it works fine for Chinese/Japanese/Arabic etc but if the name has emojies it doesn’t interpret it properly. So if I have an odd number of emoji codes it shows a square, if I have 2 emojies it shows only one of them.
Here you can see a dummy code:
- trying to print one or 2 chinesse characters works fine
- trying to print one or 2 emojies:
- draws a square if only one
- draws only the second emoji if 2
And here the output:
You get an extra lollipop if you know how to show a name like this