]> 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:27:14 +0000 (15:27 +0100)
commit5340a8b35c35790c183eb8a97d25db95cbc7223d
tree687150e42b7361af90940a419238a560e6b906e4
parentaf8549275cfbfba4aa971a90b8947d5fde6dc32a
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