# Strip Emoji Code from page title

**URL:** <https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289>\
**Category:** Feature\
**Created:** [2015年十二月30日 23:27 UTC](https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289 "2015-12-30T23:27:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColdSun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coldsun/32/66668_2.png) [@ColdSun](https://meta.discourse.org/u/ColdSun)\
**Post date:** [2015年十二月30日 23:27 UTC](https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289/1 "2015-12-30T23:27:44Z")

</div>

In the sake of cleaner tabs and more helpful search titles via Google (etc), I would recommend stripping emoji from the page title in the html header.

Obviously it can’t display the emoji which would be most desirable, and keeping it as is offers relatively little value for the amount of characters the emoji require (typically) take up in the tab/search result.

The other option would be strip it from the topic title as a whole but that would be far less of an ideal situation as emoji in titles can be a great way to provide meta data about what the topic might be about (depending on the emojis provided/utilized)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年十二月30日 23:29 UTC](https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289/2 "2015-12-30T23:29:50Z")

</div>

Actually _can_ browsers display unicode Emoji in page title? I think they can.

Obviously `:smile:` aka 😄 isn’t going to display but the Unicode version should.

---

<div class="post-metadata">

**Author:** ![ColdSun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coldsun/32/66668_2.png) [@ColdSun](https://meta.discourse.org/u/ColdSun)\
**Post date:** [2015年十二月30日 23:32 UTC](https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289/3 "2015-12-30T23:32:46Z")

</div>

To be honest, I forgot to check if the Unicode versions would. That would still leave the issue of the `:smile:` version.

I don’t foresee it happening often on most sites, but depending on the type of community culture developed, it could become quite a problem on a few sites.

---

<div class="post-metadata">

**Author:** ![EddieOne](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eddieone/32/116016_2.png) [@EddieOne](https://meta.discourse.org/u/EddieOne)\
**Post date:** [2017年十一月23日 06:18 UTC](https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289/4 "2017-11-23T06:18:34Z")

</div>

Yes, would be nice to default to unicode emoji in titles. With the option to strip them out. 🥓

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十一月23日 06:35 UTC](https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289/5 "2017-11-23T06:35:38Z")

</div>

This was already fixed, we use unicode emoji in topic titles now, which browsers display just fine, but may not have two years ago in 2015.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年十一月23日 06:35 UTC](https://meta.discourse.org/t/strip-emoji-code-from-page-title/37289/6 "2017-11-23T06:35:41Z")

</div>


