logoalt Hacker News

timsneathtoday at 12:38 AM1 replyview on HN

And just for fun, they also support what must be the most weird encoding system -- UTF-EBCDIC (https://www.ibm.com/docs/en/i/7.5.0?topic=unicode-utf-ebcdic).


Replies

kstrausertoday at 12:50 AM

Post that stuff with a content warning, would you?

> The base EBCDIC characters and control characters in UTF-EBCDIC are the same single byte codepoint as EBCDIC CCSID 1047 while all other characters are represented by multiple bytes where each byte is not one of the invariant EBCDIC characters. Therefore, legacy applications could simply ignore codepoints that are not recognized.

Dear god.

show 1 reply