Making npc(1) Unicode-aware
#180
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
npc(1)was produced before we settled on a Unicode-native system.https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_control
https://www.unicode.org/charts/nameslist/n_2400.html
Regardless of the US-ASCII nativity of the system, there has to be at
least a fragment of US-ASCII compatibility in order to attempt use on
ASCII terminals, many of which were implemented in hardware/firmware.
The largest field of potentially non printing characters should be the
default, and then we could implement
-8for "print eight-bit chars"and print graphics for the control character range of UTF-8. Per the
hyperlinked source, the Unicode consortium states in
https://www.unicode.org/policies/stability_policy.html#Property_Value
that the set of Unicode control characters won't change, so it would
just take a dash of decoding:
For example.