Disable Emoji – Stop Rendering HTML Code as Emoji

Emojis look like images or icons, but actually they are characters from the UTF (Unicode Transformation Format) character set.

When OS or browser is rendering HTML it may automatically convert Unicode characters to emojis, that is not always necessary.

This short note shows how to disable emojis and prevent Unicode characters in HTML from rendering as emojis.

Cool Tip: Trigger an action (send an email or a message to Telegram) when a new comment is posted on a WordPress site! Read more →

Disable Emoji

The UTF has special characters to control the rendering.

These special characters tell the OS/browser if it is required to covert the previous glyph to emoji or disable emoji and render it as a text:

  • ️disable emoji and render the previous glyph as a text
  • ︎ – display the previous glyph as an emoji

For example:

  • ❤ can be rendered differently
  • ❤️ should look like a heart emoji
  • ❤︎ should look like a heart text symbol

Let’s try it out:

  • ❤ can be rendered differently
  • ❤️ should look like a heart emoji
  • ❤︎ should look like a heart text symbol

Cool Tip: How to send a message to a Telegram channel using PHP! Read more →

Was it useful? Share this post with the world!

Leave a Reply