From: Bruno Haible Date: Fri, 5 Sep 2025 09:01:29 +0000 (+0200) Subject: quotearg: Improve comment. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca171f3a23cb1dac321ac32495b96746d777049;p=thirdparty%2Fgnulib.git quotearg: Improve comment. * lib/quotearg.c (gettext_quote): Improve terminology. Use standard encoding name. --- diff --git a/ChangeLog b/ChangeLog index 78c4e7ba9c..1b4963b2aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,15 @@ +2025-09-05 Bruno Haible + + quotearg: Improve comment. + * lib/quotearg.c (gettext_quote): Improve terminology. Use standard + encoding name. + 2025-09-05 Paul Eggert propername-lite: lighten it up some more This should help GNU diffutils avoid some Gnulib modules. * lib/propername-lite.c: Do not include c-strcase.h, localcharset.h. - Include and mbrtowc32 if available. + Include and mbrtoc32 if available. Use __has_include to detect this; that should be good enough nowadays. Use native mbrtoc32 instead of Gnulib replacement; that should be good enough. 2nd arg is now possibly unused. diff --git a/lib/quotearg.c b/lib/quotearg.c index 74878cbc78..91a2afd733 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -204,7 +204,7 @@ gettext_quote (char const *msgid, enum quoting_style s) return translation; /* For UTF-8, use single quotes U+2018 and U+2019. - Here is a list of other locales that include U+2018 and U+2019: + Here is a list of other locale encodings that include U+2018 and U+2019: ISO-8859-7 0xA1 KOI8-T 0x91 CP869 0x8B CP874 0x91 @@ -217,7 +217,7 @@ gettext_quote (char const *msgid, enum quoting_style s) EUC-JP 0xA1 0xC6 EUC-KR 0xA1 0xAE EUC-TW 0xA1 0xE4 BIG5 0xA1 0xA5 BIG5-HKSCS 0xA1 0xA5 EUC-CN 0xA1 0xAE - GBK 0xA1 0xAE GB-18030 0xA1 0xAE + GBK 0xA1 0xAE GB18030 0xA1 0xAE Georgian-PS 0x91 PT154 0x91 These are not in wide use; using iconv is overkill,