‹ BackHN Continuity

Thread

UTF-8000: Unlimited UTF-8

134 points · 122 comments · vismit2000

  1. Sharlin · · focus · HN ↗
    UTF-8 originally supported up to six-byte encodings (see eg. RFC 2279), but it was restricted to four bytes in 2003 in order to match UTF-16 constraints :(
    1. delamon · · focus · HN ↗
      We still have about 85% of codepoint space unused. Hopefully, by the time it becomes a problem, UTF-16 will be long dead
      1. nasso_dev · · focus · HN ↗
        i hope so too, but UTF-16 being used by languages such as java and javascript makes me fear it might be here to stay.... i hope im wrong
        1. 7bit · · focus · HN ↗
          Utf-16 is famously used by Windows for everything important as well.
          1. colejohnson66 · · focus · HN ↗
            Thankfully, this is changing. Win32&#x27;s &#x27;A&#x27; ANSI&#x2F;ASCII APIs now support UTF-8 if your app declares such a wish. <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;69181417&#x2F;1350209" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;69181417&#x2F;1350209
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.