Markdown.pl: add new --us-ascii option for 7-bit output
commit62c591694591c911f3d3a340ddce453a8f51e7af
authorKyle J. McKay <mackyle@gmail.com>
Thu, 12 Aug 2021 18:53:58 +0000 (12 11:53 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 12 Aug 2021 18:53:58 +0000 (12 11:53 -0700)
treeede2a7cc1734f0ba5dfdc7c2ebdc53d0361e3b5a
parenta3c4d34b752cdb97df434f811ee80f18430f0d46
Markdown.pl: add new --us-ascii option for 7-bit output

With the new --us-ascii (aka --ascii) option enabled, any characters
with a code point value larger than 127 are output using their
equivalent numerical character entity.

This makes the output strictly US-ASCII (which is a subset of UTF-8)
and should allow it to survive almost any transport mechanism at
the expense of an increase in size that depends on how many
non-US-ASCII characters are present.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Markdown.pl