# Inline emoji turned into text

**URL:** https://meta.discourse.org/t/inline-emoji-turned-into-text/345300
**Category:** Bug
**Tags:** emoji
**Created:** [January 2, 2025, 7:25pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300 "2025-01-02T19:25:28Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![pierrox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pierrox/32/251996_2.png) [@pierrox](https://meta.discourse.org/u/pierrox)
#### Post date: [January 2, 2025, 7:25pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/1 "2025-01-02T19:25:28Z")

</div>

I’m running a community forum using Discourse and I noticed a display bug. Basically if someone posts with an iPhone using the built-in emoji keyboard AND the emoji has no space with the word it follows, then Discourse displays its own alphanumerical version of the emoji instead of its emoji.  
Here is an example​😍😍😍  
In the above example I put 3 “heart eyes” emojis and the first one doesn’t display on Safari.

---

<div class="post-metadata">

### Author: ![pierrox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pierrox/32/251996_2.png) [@pierrox](https://meta.discourse.org/u/pierrox)
#### Post date: [January 2, 2025, 7:28pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/2 "2025-01-02T19:28:29Z")

</div>

It would be interesting to see if posting from an Android phone does the same.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [January 2, 2025, 7:28pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/3 "2025-01-02T19:28:56Z")

</div>

There is a site setting for this. This is not just on iPhone works like this. 🙂

> [@Emoji rendering problem](https://meta.discourse.org/t/emoji-rendering-problem/319922/2):
>
> Hello waving_hand There is a site setting which prevents this. By default this setting is disabled. enable inline emoji translation Description: Enables translation for inline emojis (without any space or punctuation before) On my forum I’ve enabled this setting and it works in posts too. Disabled Enabled

---

<div class="post-metadata">

### Author: ![pierrox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pierrox/32/251996_2.png) [@pierrox](https://meta.discourse.org/u/pierrox)
#### Post date: [January 2, 2025, 7:30pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/4 "2025-01-02T19:30:26Z")

</div>

Oh nice, I had exchanged with our Discourse guru and he didn’t mention this one. I think it should be enabled by default, don’t you think? Or is there some issues that can pop up from having it activated?

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [January 2, 2025, 7:34pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/5 "2025-01-02T19:34:19Z")

</div>

Nope, I don’t think it cause any issue. But if you enabled this you’ll have to rebuild the existing posts html or rebake posts to update emojis.

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [January 2, 2025, 8:23pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/6 "2025-01-02T20:23:15Z")

</div>

This isn’t specific to Android or iPhone at all but a problem with our post cooker

The relevant part from the originally posted text is:

```plaintext
Here is an example😍😍😍

```

which is

```plaintext
Here is an example\xf0\x9f\x98\x8d\xf0\x9f\x98\x8d\xf0\x9f\x98\x8d

```

Looks like the cooker is translating the raw emoji into its name, but then doesn’t process it unless `enable inline emoji translation` is set.

* * *

tests:

```plaintext
word♥
word♥♥
word♥♥♥
word😍
word😍😍
word😍😍😍
word♥😍
word😍♥
word😍🖖
word🖖😍

```

word​❤  
word​❤❤  
word​❤❤❤  
word​😍  
word​😍😍  
word​😍😍😍  
word​❤😍  
word​😍❤  
word​😍🖖  
word​🖖😍

(you can see when there’s only a single emoji attached to a word it doesn’t get changed at all but when there’s more than one it breaks)

> ![The image shows a diagram illustrating the relationship between textual and graphical representations of the word "heart eyes." (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/5/8/6/5869dcd913e1b81dfb382faaed3f6e7656dee8d0.png)

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [May 6, 2025, 2:39pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/10 "2025-05-06T14:39:30Z")

</div>

😡

 ![The image shows a reversed and pixelated image of text within an interface, with emphasis on the words "x:kiss:" and ":-100" followed by "x:cook:", accompanied by red arrows pointing to text elements. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/9/7/5/97579182a0f942fb6ff8a033997a355e7a09df82.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 14, 2026, 7:39am UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/11 "2026-01-14T07:39:17Z")

</div>

Despair no more, will be fixed by:

[https://github.com/discourse/discourse/pull/37100](https://github.com/discourse/discourse/pull/37100)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 14, 2026, 7:37pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/16 "2026-01-14T19:37:34Z")

</div>

Rebaked and looking​🧐😘🥰

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 14, 2026, 7:37pm UTC](https://meta.discourse.org/t/inline-emoji-turned-into-text/345300/17 "2026-01-14T19:37:41Z")

</div>


