]> Savannah Git Hosting - gnulib.git/commit
setlocale: Support the UTF-8 environment on native Windows.
authorBruno Haible <bruno@clisp.org>
Mon, 23 Dec 2024 15:57:15 +0000 (16:57 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Dec 2024 14:34:14 +0000 (15:34 +0100)
commitbbac9ed67a105e49797ba0826dc98d798fed0e6c
tree5b614abc17c60744712b02c49d9d1082d899913a
parent0636fe52bb1f9f818e7127a38a8ad72af9c7d1f9
setlocale: Support the UTF-8 environment on native Windows.

* lib/setlocale.c: Include <windows.h>.
(setlocale_unixlike): In the UTF-8 environment, append a suffix ".65001"
to the locale names passed to the native setlocale().
ChangeLog
lib/setlocale.c