~/talk

Emoji Encoding

Talkat JSWorld Conference 2021 · 2021-02-22..02-27· [javascript, web-platform]
slides:none on file

Explains why '👩🏿‍🎤'.length = 7 by breaking it into two UTF‑16 surrogate pairs for each astral emoji plus skin‑tone modifiers and zero width joiner glue and a final microphone code point, shows JavaScript using UCS‑2/UTF‑16 so .length and split miscount, demonstrates fixes with String.prototype.normalize and surrogate‑pair math, cites tools like Matthias Baynard’s pile of poo test, gives numbers (over 90% of users use emoji, 5 billion/day on Messenger, Unicode 13 in Mar 2020), and notes the hijab emoji proposal succeeded.

AI-written summary · about

  1. 0:00Emoji encoding intro
  2. 1:06UTF-8 in web dev
  3. 6:27Unicode history and purpose
  4. 10:41UTF encoding formats
  5. 12:52JavaScript combining marks
  6. 17:52Emojis and Unicode Astral Planes
  7. 21:43Compound emoji sequences
  8. 24:14Cultural emoji differences
  9. 26:22Proposing new emojis
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.