digraphs: alternate glyph string in include
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 14 Sep 2008 02:56:27 +0000 (02:56 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 16 Sep 2008 03:31:31 +0000 (03:31 +0000)
commite1497cc49fa909c193ec5b165fc7445305be09b5
tree3b3f79adfe48b87b05b0b0908881b5863b41c8ea
parentdbddc268edc610c50c7ec27de30e13bdd585b377
digraphs: alternate glyph string in include

Allow the digraph include to specify string overrides in cases where a
glyph should not be shown literally.  These are:

- Combining characters: prepend a placeholder.
  Dead chars are invalid on their own in fact.
- ASCII control characters: substitude display symbols at U+24xx.
  Though browsers usually show a character placeholder, it's not very
  nice to send control chars directly.
- Other control characters: show the replacement character U+FFFD.
  Actually with some (Linux) fonts, the anonymous code point fallback is
  more descriptive, but better to be on the safe side (they still have
  semantic value after all).
digraphs.inc.pl
digraphs.plp
rfc1345convert