New ask Hacker News story: Ask HN: Why does macOS assume PC and PS/2 RTF encodings came from NeXT machines?

Ask HN: Why does macOS assume PC and PS/2 RTF encodings came from NeXT machines?
3 by torstenvl | 0 comments on Hacker News.
According to the RTF specification, \pc and \pca encodings specify the IBM 437 and IBM 850 code pages, respectively. However, TextEdit and Pages both use the NeXT character set < https://en.wikipedia.org/wiki/NeXT_character_set > when rendering such files. Example RTF code: {\rtf1\pc {\fonttbl\f0 Courier New;} {\pard \'c9\'cd\'cd\'cd\'cd\'bb \line \'ba\~\~\~\~\'ba \line \'ba\~\~\~\~\'ba \line \'c8\'cd\'cd\'cd\'cd\'bc \line \par} } This should create a box using curses-like line drawing characters. But on TextEdit and Pages, it does something else entirely using quotes and a superscript number 2. Anyone have any historical context?

Comments

Popular posts from this blog

New ask Hacker News story: Tell HN: Equifax free credit report dark patterns

New ask Hacker News story: Ask HN: Why can't the US government run their own social media?