On 2024-04-12 Bruno Haible wrote:
> How to reproduce:
> 1. Build GNU tar (1.33 or 1.35, for example).
> 2. Install it.
> 3. You can see misindentation:
> $ LC_ALL=de_DE.UTF-8 src/tar --help
> 
> ...
>                              abzubilden
>       --mode=ÄNDERUNGEN     den (symbolischen) Modus ÄNDERUNGEN für
>                              hinzugefügte Dateien erzwingen
[...]
> In other words, it should use the Gnulib module 'mbswidth'.

This is one of the issues. The other one is with the wrapping of the
description text. It counts 1 byte == 1 column but in languages which
mostly use non-ASCII chars it can be mostly 2 bytes == 1 column. Then
the wrapping occurs far too early, resulting in narrow output.

-- 
Lasse Collin

Reply via email to