1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00

quotearg: Improve comment.

* lib/quotearg.c (gettext_quote): Improve terminology. Use standard
encoding name.
This commit is contained in:
Bruno Haible
2025-09-05 11:01:29 +02:00
parent c02885a511
commit aca171f3a2
2 changed files with 9 additions and 3 deletions

View File

@@ -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.

View 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,