bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: argp --help formatting bug with non-ASCII characters


From: Collin Funk
Subject: Re: argp --help formatting bug with non-ASCII characters
Date: Fri, 12 Apr 2024 10:40:17 -0700
User-agent: Mozilla Thunderbird

Hi Bruno,

On 4/12/24 10:19 AM, Bruno Haible wrote:
> So, my feeling would be that the first thing to do is to create a new
> unit test for it:
>   1. so that we don't need to build and try GNU tar in order to see
>      whether there is a regression in the future,
>   2. so as to cover the tricky cases as well (such as, near the end of
>      a line, a word that ends in 'Ä' or in some width 2 character).

Yes, that makes sense. Since GNU tar only has the case

     --opt=ARG            single-line doc string

where ARG can have 'Ä' or some other character. I'm not very familiar
with localization or multi-byte encodings, but I can try to come up
with a unit test with some inspiration from some other modules.

Collin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]