Follow-up Comment #7, bug #68923 (group groff):

[comment #6 comment #6:]
> GNU troff accepts “caf\['e]”,
> “caf\[e aa]”, and “caf\[u0065_0301]”, as ways to input “café”.
> (Due to its legacy 8‐bit encoding compatibility, at present it also
> accepts “caf\[u00E9]” on ISO Latin‐1 systems.)

Groff seems to understand \[u00E9] regardless of what the environment's
encoding is specified as, and regardless of what troffrc says.  (I'm not sure
how else you might characterize an "ISO Latin‐1 system.")

$ cat cafe
echo 'caf\[u0065_0301]' | LC_CTYPE=en_US.utf8     troff -R | grep ^C
echo 'caf\[u00E9]'      | LC_CTYPE=en_US.utf8     troff -R | grep ^C
echo 'caf\[u00E9]'      | LC_CTYPE=en_US.iso88591 troff -R | grep ^C
echo 'caf\[u00E9]'      | LC_CTYPE=C              troff -R | grep ^C
$ ./cafe | uniq
C'e




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68923>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to