bug-gnulib
[Top][All Lists]
Advanced

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

Re: GNUlib unicode encoding causes smart quotes to be displayed in progr


From: Florian Weimer
Subject: Re: GNUlib unicode encoding causes smart quotes to be displayed in program's output
Date: Fri, 06 Dec 2019 12:00:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

* Tim Rühsen:

> On 12/5/19 4:12 PM, Wes Hurd wrote:
>> Hi,
>> 
>> It seems GNUlib quote encoding goes to Unicode smart quotes, which causes
>> command-line program output to be in smart quotes.
>> Smart quotes are dangerous for programmers and technical users, and should
>> be avoided in program output.
>> 
>> Originally noticed with wget -
>> https://savannah.gnu.org/bugs/index.php?57356#comment1
>> 
>> Can you change it to use only regular typed " quotes , at least with STDOUT
>> / STDERR ?
>
> All the GNU tools support localization. And there seems to be some kind
> of inconsistency.
>
>
> $ LANGUAGE=de cp
> cp: Fehlender Dateioperand
> „cp --help“ liefert weitere Informationen.
>
>
> $ LANGUAGE=de wget
> wget: URL fehlt
> Aufruf: wget [OPTION]... [URL] …
>
> »wget --help« gibt weitere Informationen.
>
>
> Which one is correct ?

Both are, for Germany and Austria.  »« quotes are in Latin-1, which once
was a decisive advantage.  On the other hand, »« used to be restricted
to professional typesetting.

In Switzerland, «» are used instead of »« quotes, if I recall correctly.

Thanks,
Florian




reply via email to

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