# Emojis not displayed properly

**URL:** https://community.thunkable.com/t/emojis-not-displayed-properly/1667355
**Category:** Questions about Thunkable X
**Created:** [January 7, 2022, 4:25am UTC](https://community.thunkable.com/t/emojis-not-displayed-properly/1667355 "2022-01-07T04:25:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [January 7, 2022, 4:25am UTC](https://community.thunkable.com/t/emojis-not-displayed-properly/1667355/1 "2022-01-07T04:25:23Z")

</div>

Here’s a strange issue that probably not too many people have run across…

I wanted to make a 5-character string filled with random emojis from [https://getemoji.com](https://getemoji.com) so I tried these blocks:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/0/10b063726cf431a2c890f7de4442c9ec59755b7b.png)

But they result in this when previewed:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/5/5591720a75d3fe900059b79f35bc28ec2faeb1c6.png)

Or other strange renderings where the emojis (there should be 5 red hearts) are displayed strangely:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/b/cb3cb3de839be80fc707d94feec8f73685fa48d0.png)

It’s definitely related to the emoji characters and also to the `in text get` block because if I replace the emojis with something like text symbols ("!@#$%^&"), it works fine and if I set the label’s text to “❤❤❤❤❤” it works fine.

My example above shows a random letter from the string “❤”. That was just to illustrate the problem. The actual string I’m hoping to use is:

“😃😄😁😆😅😂🤣🥲:innocent:🙂🙃😉😌😍🥰😋😛😝😜🤪🤨🧐🤓🕶🥸:partying\_face:😏😒😞😟😕😖😩🥺😢😤😠😳😥😓🤗🤔🤥😐😬🙄😯😮😲🥱😴😪🥴😷🤒🤑🤠”

Then again, some of the emojis right above are also not formatting correctly… I wonder if something changed in the emoji encoding or in Thunkable. I wasn’t having problems like this before.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 7, 2022, 10:10am UTC](https://community.thunkable.com/t/emojis-not-displayed-properly/1667355/2 "2022-01-07T10:10:06Z")

</div>

Remember that emojis are sometimes 2 characters and sometimes 3 or 4 so you need to create a `List` of objects that contains the emoji itself and another property to store the number of characters it consists of so you can properly get the `in text` part.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [January 7, 2022, 4:19pm UTC](https://community.thunkable.com/t/emojis-not-displayed-properly/1667355/3 "2022-01-07T16:19:44Z")

</div>

Thanks, I didn’t realize that. Is there an easy way to determine the string length of an emoji then?

**Edit:** That’s alright, I looped through each 2-character substring and added them to a list. That worked!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [April 7, 2022, 4:20pm UTC](https://community.thunkable.com/t/emojis-not-displayed-properly/1667355/4 "2022-04-07T16:20:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
