Skip to content

Use raw emoji in HTML source

Currently we are escaping the emoji in links (e.g. %F0%9F%8E%A8.css instead of 🎨.css). However:

  1. Modern browsers (Firefox 2 and higher, Internet Explorer 8 and higher) support raw emoji in URIs
  2. My take on the HTML 5 spec is UTF is valid in URIs (especially since we mark the page as UTF-8 with <meta charset="UTF-8">)

I would prefer to put the raw emoji in the page since modern browsers support it, it saves 16 bytes per load on the main page, and the source looks nicer.

This does break full IE6 compatibility. The main page still works, it just doesn't load the CSS and the about page link doesn't work.

@qwindelzorf @Z3liff speak now or forever hold your peace

Windows 98: FF 2 (works) & IE6 (partial)

20240209_231327

Windows XP: IE8 (works)

20240209_230446

Edited by David G. Martin IV