2024-12-11 Paul Eggert <eggert@cs.ucla.edu>
+ doc: isdigit and isxdigit are locale-independent
+ * doc/posix-functions/isdigit.texi:
+ * doc/posix-functions/isxdigit.texi:
+ Document that mingw and MSVC do not conform to the C standard,
+ which says that isdigit and isxdigit are independent of locale.
+ Issue pointed out by Florian Weimer in:
+ https://sourceware.org/pipermail/libc-alpha/2024-December/162362.html
+
doc: document non-translation
* doc/gnulib-tool.texi (Localization):
Say what to do if you don’t want translations.
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function's behavior depends on locale, can return nonzero on
+arguments other than the usual decimal digits:
+mingw, MSVC.
@end itemize
-Note: This function's behaviour depends on the locale, but does not support
+Note: This function does not support
the multibyte characters that occur in strings in locales with
@code{MB_CUR_MAX > 1} (this includes all the common UTF-8 locales).
There are five alternative APIs:
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function's behavior depends on locale, can return nonzero on
+arguments other than the usual hexadecimal digits:
+mingw, MSVC.
@end itemize
-Note: This function's behaviour depends on the locale, but does not support
+Note: This function does not support
the multibyte characters that occur in strings in locales with
@code{MB_CUR_MAX > 1} (this includes all the common UTF-8 locales).
There are five alternative APIs: