<?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: James Placeboff</title>
    <description>The latest articles on DEV Community by James Placeboff (@jamesplaceboff).</description>
    <link>https://dev.to/jamesplaceboff</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%2F4250647%2Fe2e8bcb3-8ca2-48c3-bd48-29ddde1a3ca7.png</url>
      <title>DEV Community: James Placeboff</title>
      <link>https://dev.to/jamesplaceboff</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jamesplaceboff"/>
    <language>en</language>
    <item>
      <title>An emoji is a code point, not a picture: why the same 🍔 looks different on every device</title>
      <dc:creator>James Placeboff</dc:creator>
      <pubDate>Tue, 17 Nov 2026 22:27:24 +0000</pubDate>
      <link>https://dev.to/jamesplaceboff/an-emoji-is-a-code-point-not-a-picture-why-the-same-looks-different-on-every-device-12hl</link>
      <guid>https://dev.to/jamesplaceboff/an-emoji-is-a-code-point-not-a-picture-why-the-same-looks-different-on-every-device-12hl</guid>
      <description>&lt;p&gt;If you have ever built a search box for a &lt;a href="https://emojiwiz.com/food-emoji/" rel="noopener noreferrer"&gt;searchable list of food emoji&lt;/a&gt;, you have run into the same surprise: the thing you store is not an image. It is a number, and every platform decides for itself what to draw for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually gets stored
&lt;/h2&gt;

&lt;p&gt;An emoji is a Unicode code point, for example &lt;code&gt;U+1F354&lt;/code&gt; for "hamburger". Unicode assigns that number an official name and a short description. It does not ship artwork. Apple, Google, Samsung and Microsoft each draw their own glyphs and bundle them into their own fonts.&lt;/p&gt;

&lt;p&gt;So when a message goes from one phone to another, the code point arrives intact and the picture is replaced by the receiver's version. Nothing is lost in transit. There is simply no single canonical burger.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="s2"&gt;"🍔"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;codePointAt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// "1f354"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why food emoji show the gap best
&lt;/h2&gt;

&lt;p&gt;Food emoji are tiny illustrations with plenty of detail: layers, garnish, colors. Vendor differences are easy to see there, and vendors have even redrawn some icons after public debates about the details. If a dish looks odd on your screen, check its name instead. The name is stable even when the picture is not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Searching emoji properly
&lt;/h2&gt;

&lt;p&gt;A useful emoji search does not match only the name. Unicode CLDR provides a list of keywords for every emoji, and a decent implementation combines both:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Lowercase the query and split it into words.&lt;/li&gt;
&lt;li&gt;Match against the name and the CLDR keywords.&lt;/li&gt;
&lt;li&gt;Rank exact whole-word matches above partial ones.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Search for "cake" and you should get 🎂 🍰 🧁. Search for "coffee" and you should get ☕.&lt;/p&gt;

&lt;p&gt;Empty results are usually a data problem, not a bug: a dish with no emoji of its own cannot be found by its own name. A broader word such as "fruit" or "drink" works as a fallback.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical rules
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Treat an emoji as a name plus a code point, and test how it renders on at least one device that is not yours.&lt;/li&gt;
&lt;li&gt;Very new code points show up as an empty box on older systems, so keep a plain-text word next to anything important.&lt;/li&gt;
&lt;li&gt;When copying emoji into a template, a menu or a shared list, check the result on a second platform before sending it to everyone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Emoji behave like a shared vocabulary, not a shared set of pictures. Each platform just draws the words in its own handwriting.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>unicode</category>
      <category>beginners</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
