<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: EmojiCenter</title>
    <description>The latest articles on DEV Community by EmojiCenter (@emojicenter).</description>
    <link>https://dev.to/emojicenter</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4251493%2F799b7a0d-6eb9-42e8-b39d-8ce491c8361e.png</url>
      <title>DEV Community: EmojiCenter</title>
      <link>https://dev.to/emojicenter</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emojicenter"/>
    <language>en</language>
    <item>
      <title>Emoji Unicode and HTML Codes: A Practical Guide for Developers</title>
      <dc:creator>EmojiCenter</dc:creator>
      <pubDate>Wed, 18 Nov 2026 09:42:59 +0000</pubDate>
      <link>https://dev.to/emojicenter/emoji-unicode-and-html-codes-a-practical-guide-for-developers-2ppa</link>
      <guid>https://dev.to/emojicenter/emoji-unicode-and-html-codes-a-practical-guide-for-developers-2ppa</guid>
      <description>&lt;p&gt;Emoji look simple, but under the hood each one is a Unicode code point, or a sequence of them. 😀 is U+1F600, which you can write in HTML as &lt;code&gt;&amp;amp;#x1F600;&lt;/code&gt; or &lt;code&gt;&amp;amp;#128512;&lt;/code&gt;. Skin tones, gender variants and flags are built by joining several code points, often with a zero-width joiner (U+200D). That's why 👩‍💻 counts as more than one "character" in JavaScript's &lt;code&gt;.length&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A few practical tips:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;Array.from(str).length&lt;/code&gt; or &lt;code&gt;Intl.Segmenter&lt;/code&gt; to count emoji correctly.&lt;/li&gt;
&lt;li&gt;Always serve pages as UTF-8, and store text in a &lt;code&gt;utf8mb4&lt;/code&gt; column in MySQL.&lt;/li&gt;
&lt;li&gt;Expect the same emoji to look different on Apple, Google and Microsoft, so check that the meaning still comes across on every platform.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When I need a code point, an HTML entity or a quick side-by-side of vendor designs, I use &lt;a href="https://www.emojicenter.com/" rel="noopener noreferrer"&gt;EmojiCenter&lt;/a&gt;. It lists 3,664+ emoji with their meanings and codes, and it has copy-paste sets for TikTok, REDnote, WeChat and Douyin.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>unicode</category>
      <category>html</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
