←back to thread

178 points dgl | 4 comments | | HN request time: 0.199s | source
Show context
p4cmanus3r ◴[] No.44363591[source]
Back in my day... They didn't have emojis in terminals.
replies(4): >>44363604 #>>44363623 #>>44364114 #>>44364718 #
1. gylterud ◴[] No.44364114[source]
U+263A entered Unicode in 1993, afaik. Plan9 had utf8 support in the terminal back then!
replies(3): >>44364327 #>>44365106 #>>44366917 #
2. Findecanor ◴[] No.44364327[source]
Single code point, monochrome and single space. So it didn't need to be handled differently than any other non-ASCII character.

BTW, it is emitted with the sequence `Compose` `:` `)` (if you have Compose-key support installed+enabled)

3. layer8 ◴[] No.44365106[source]
This character was code 0x01 in the original IBM PC code page (https://en.wikipedia.org/wiki/Code_page_437), and hence in DOS. It was displayed single-width and monochrome just like any other 8-bit character, never causing any rendering issues, unlike emojis today. It was added to Unicode for round-trip compatibility with that code page.

More background about how the smiley ended up in the IBM code page: https://www.vintagecomputing.com/index.php/archives/790/the-...

4. MisterTea ◴[] No.44366917[source]
UTF-8 was developed by Rob Pike and Ken Thompson on a napkin in a diner and implemented in Pikes Plan 9 making it the first UTF-8 OS.