ksherlock / mpw-shell

A shell for those that prefer Macintosh Programmer's Workshop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

text encoding

ksherlock opened this issue · comments

LANG=en_US indicates MacRoman.
LANG=en_US.UTF-8 indicates UTF8.

Should support UTF 8 since setting up a new MacRoman terminal and using it exclusively is annoying.

current plan:

  • MacRoman is the supported encoding. full stop. MPW Utilities expect it for input and output.
  • need to build a custom version of lib edit since it doesn't like non-utf8 8-bit text
  • to support utf8, add a macroman utility

usage: macroman executable [flags]

creates a pty and silently handles macroman/utf8 (or other?) encoding