+2024-05-27 Bruno Haible <bruno@clisp.org>
+
+ tests: Fix internationalization problems on native Windows.
+ * doc/posix-functions/setlocale.texi: Clarify the deficiency of
+ setlocale() on native Windows.
+ * modules/dfa-tests (Depends-on): Add setlocale.
+ * modules/hard-locale-tests (Depends-on): Likewise.
+ * modules/localcharset-tests (Depends-on): Likewise.
+ * modules/nstrftime-tests (Depends-on): Likewise.
+
2024-05-27 Bruno Haible <bruno@clisp.org>
parse-datetime tests: Avoid failure on native Windows.
Portability problems fixed by Gnulib module @code{setlocale}:
@itemize
@item
-On Windows platforms (excluding Cygwin), @code{setlocale(@var{category},NULL)}
-ignores the environment variables @code{LC_ALL}, @code{@var{category}}, and
-@code{LANG}.
+On Windows platforms (excluding Cygwin), @code{setlocale(@var{category},"")}
+and @code{setlocale(@var{category},NULL)} both ignore the environment variables
+@code{LC_ALL}, @code{@var{category}}, and @code{LANG}.
@item
On Windows platforms (excluding Cygwin) and Cygwin 1.5.x,
@code{setlocale(LC_ALL,@var{name})} succeeds and sets the LC_CTYPE category to