[Bug 292630] textproc/groff: make gropdf handle UTF-8 escape sequences from preconv
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 292630] textproc/groff: make gropdf handle UTF-8 escape sequences from preconv"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 292630] textproc/groff: make gropdf handle UTF-8 escape sequences from preconv"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 292630] textproc/groff: make gropdf handle UTF-8 escape sequences from preconv"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 292630] textproc/groff: make gropdf handle UTF-8 escape sequences from preconv"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 292630] textproc/groff: make gropdf handle UTF-8 escape sequences from preconv"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 292630] textproc/groff: make gropdf handle UTF-8 escape sequences from preconv"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Jan 2026 13:47:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292630
Bug ID: 292630
Summary: textproc/groff: make gropdf handle UTF-8 escape
sequences from preconv
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: fbsd@opal.com
Created attachment 267362
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267362&action=edit
patch to handle UTF-8 \[u00(..)] characters
groff -k invokes pre-processor preconv(1) which converts UTF-8 input characters
to \[uNNNN] sequences.
groff's -Tpdf post-processor gropdf(1) is not correctly recognizing these
sequences and so they are printing as "\[uNNNN]" rather than as the intended
UTF-8 character.
Attached patch converts characters in the range \[u00(..)] to the corresponding
8-bit character allowing them to display correctly. Additional work will be
needed to support UTF-8 characters in other ranges.
--
You are receiving this mail because:
You are the assignee for the bug.