]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
quotearg: Improve comment.
authorBruno Haible <bruno@clisp.org>
Fri, 5 Sep 2025 09:01:29 +0000 (11:01 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Sep 2025 09:01:29 +0000 (11:01 +0200)
* lib/quotearg.c (gettext_quote): Improve terminology. Use standard
encoding name.

ChangeLog
lib/quotearg.c

index 78c4e7ba9c011d512a2279be1b1b7c949202bb1c..1b4963b2aab9014906bc5a7685abcb454f040afa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,15 @@
+2025-09-05  Bruno Haible  <bruno@clisp.org>
+
+       quotearg: Improve comment.
+       * lib/quotearg.c (gettext_quote): Improve terminology. Use standard
+       encoding name.
+
 2025-09-05  Paul Eggert  <eggert@cs.ucla.edu>
 
        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 <uchar.h> and mbrtowc32 if available.
+       Include <uchar.h> 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.
index 74878cbc78ca1a99fc2de71359a25235b0479fc4..91a2afd7334b22080e8f3a5f95670feca2ed3f2d 100644 (file)
@@ -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,