Follow-up Comment #8, bug #66133 (group groff): I will add that it is straightforward to determine if non-ASCII characters are correctly making it out of GNU _troff_.
You use the `-Z` option to _groff_ or _nroff_ (or run _troff_ directly) and _grep_ the output for device extension (a.k.a. device control) commands. These are on lines that start with "x". In this case we can further narrow things down with the knowledge that [https://opensource.adobe.com/dc-acrobat-sdk-docs/library/pdfmark/pdfmark_Basic.html the "pdfmark" feature of that document format] is what _groff_ uses to embed metadata like author information and bookmarks into PDF documents. Thus: $ groff -K utf8 -m om -T pdf -Z ./contrib/mom/examples/mon_premier_doc.mom| grep '^x' | grep pdfmark x X ps:exec [/PageMode /UseOutlines /DOCVIEW pdfmark x X ps:exec [/Author (Cic\[u00E9]ron,) /DOCINFO pdfmark x X ps:exec [/Dest /pdf:bm1 /View [/FitH -64666 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm1 /Title (Cover: Mon Premier Document) /Level 1 /OUT pdfmark x X ps:exec [/Dest /pdf:bm2 /View [/FitH -64666 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm2 /Title (Title Page: Mon Premier Document) /Level 1 /OUT pdfmark x X ps:exec [/Dest /pdf:bm3 /View [/FitH -1804 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm3 /Title (Mon Premier Document\|) /Level 1 /OUT pdfmark x X ps:exec [/Dest /pdf:bm4 /View [/FitH -154785 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm4 /Title (1. Les diff\[u00E9]rentes versions) /Level 2 /OUT pdfmark x X ps:exec [/Dest /pdf:bm5 /View [/FitH -203373 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm5 /Title (1.1. La version originale) /Level 3 /OUT pdfmark x X ps:exec [/Dest /pdf:bm6 /View [/FitH -705449 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm6 /Title (1.2. La version moderne) /Level 3 /OUT pdfmark x X ps:exec [/Dest /evolution /View [/FitH -381528 u] /DEST pdfmark x X ps:exec [/Dest /evolution /Title (2. Les \[u00E9]volutions du Lorem) /Level 2 /OUT pdfmark x X ps:exec [/Dest /sed_non_risus /View [/FitH -446312 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm8 /View [/FitH -40212 u] /DEST pdfmark x X ps:exec [/Dest /pdf:bm8 /Title (Table des mati\[u00E8]res) /Level 1 /OUT pdfmark From the above I can rule out all components of _groff_ that execute before the output driver. That means the formatter itself, _troff_, any preprocessor, and any macro package. FYI. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66133> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature