‹ BackHN Continuity

Thread

UTF-8000: Unlimited UTF-8

134 points · 122 comments · vismit2000

  1. Dwedit · · focus · HN ↗
    FF bytes are an easy way to identify an invalid UTF-8 file. This idea doesn't have that property.
    1. flohofwoe · · focus · HN ↗
      It's still a joy to see how frigging elegant and extensible the UTF-8 specification is. And even without the esoteric 0xFF lead byte, the regular UTF-8 encoding with a 0xFE lead byte (11111110) would still have plenty of headroom (36 bits) compared to the current 21 bits for UNICODE.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.