bugGNU roff - Bugs: bug #55035, UTF-8 strings not properly...

 
 

bug #55035: UTF-8 strings not properly preconv'd when defined using -d

Submitter:  None
Submitted:  Fri 16 Nov 2018 12:40:17 PM UTC
   
 
Category:  Preprocessor preconv Severity:  2 - Minor
Item Group:  Documentation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Jan 2022 11:40:03 AM UTC, comment #2: 


commit d1252dd80be489d7a11f8bbe1a46662ca9e3c491
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Jan 11 21:17:36 2022 +1100

    preconv(1): Add Limitations subsection.

    * src/preproc/preconv/preconv.1.man (Limitations): Add subsection.

    Fixes <https://savannah.gnu.org/bugs/?55035>.


G. Branden Robinson <gbranden>
Group administrator
Fri 16 Nov 2018 08:49:47 PM UTC, comment #1: 

This is by design.  Option `-k' adds an external preprocessor program (preconv) to the troff pipeline, while option `-d' gets directly passed to troff.  Unfortunately I don't see a solution for this particular use case.

I reclassify this as a documentation bug; it should be mentioned that arguments to option `-d' will not be processed by preconv (i.e., option `-k').

Werner LEMBERG <wl>
Group administrator
Fri 16 Nov 2018 12:40:17 PM UTC, original submission:  

GROFF VERSION: 1.22.3
MACHINE: Lenovo ThinkPad T420
OS: Arch Linux
COMPILER: g++ 8.2.1 20180831
INPUT FILES: as attached
COMMAND LINE:
groff -k -d foo="cafĂ©" test.groff -Tpdf  > bug.pdf

DESCRIPTION OF INCORRECT BEHAVIOUR:
When defining strings using the -d option, Groff does not properly preconv them, even though the -k option is given.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #45444:  test.groff added by None (137B - application/octet-stream)
file #45445:  bug.pdf added by None (4KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by bgarrigues (Updated the item)
  • -email is unavailable- added by wl (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-11 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2022-01-11 gbranden StatusNone In Progress
        Assigned toNone gbranden
    2018-11-25 bgarrigues Severity3 - Normal 2 - Minor
    2018-11-16 wl Item GroupIncorrect behaviour Documentation
    2018-11-16 None Attached File- Added test.groff, #45444
        Attached File- Added bug.pdf, #45445

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code