Follow-up Comment #3, bug #66675 (group groff):

At 2025-01-16T20:03:05-0500, Bjarni Ingi Gislason wrote:
> Follow-up Comment #1, bug #66675 (group groff):
>
> \[u...] means an unicode character.

No, it's only a Unicode special character escape sequence if it's valid
as such--otherwise it's an ordinary special character escape sequence.

groff_char(7):
       Unicode encodes far more characters than groff has glyph names
       for; special character escape forms based on numerical code
       points enable access to any of them.  Frequently used glyphs or
       glyph combinations can be stored in strings, and new glyph names
       can be created ad hoc with the char request; see groff(7).

       \[unnnn[n[n]]]
              is a Unicode numeric special character escape sequence.
              Any Unicode code point can be accessed with four to six
              hexadecimal digits, with hexadecimal letters accepted in
              uppercase form only.  Thus, \[u02DA] accesses the
              (spacing) ring accent, producing “˚”.

> Use 'Unhappy' instead.

Furthermore, we already have special character identifiers starting with
`u` that are (1) valid, (2) defined by default, and (3) not Unicode
special character escape sequences.

groff_char(7):
   Arrows
       Output   Input   Unicode   Notes

──────────────────────────────────────────────────────────────────
...
       ↑        \[ua]   u2191     vertical arrow up +
...
       ⇑        \[uA]   u21D1     vertical double arrow up
...

   Rules and lines
...
       Output   Input   Unicode   Notes

──────────────────────────────────────────────────────────────────
...
       _        \[ul]   ‐‐‐       underrule +
...



    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to