[Libguestfs] [PATCH 2/3] Use Unicode single quotes ‘’ in place of `' in strings throughout.

Eric Blake eblake at redhat.com
Fri Mar 31 13:10:48 UTC 2017


On 03/31/2017 04:32 AM, Richard W.M. Jones wrote:
> See: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
> ---

> +++ b/align/scan.c
> @@ -76,7 +76,7 @@ static void __attribute__((noreturn))
>  usage (int status)
>  {
>    if (status != EXIT_SUCCESS)
> -    fprintf (stderr, _("Try `%s --help' for more information.\n"),
> +    fprintf (stderr, _("Try ‘%s --help’ for more information.\n"),
>               getprogname ());

The `' form of quoting is definitely out of style. But these days, it is
debatable whether ASCII '' or Unicode ‘’ is better as the default; since
it is still not guaranteed that everyone is using a UTF-8 console.
Coreutils uses '', if that helps the decision any, but I'm fine with
whatever you think looks best.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170331/8b524eb7/attachment.sig>


More information about the Libguestfs mailing list