]> 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>
Mon, 23 Dec 2024 15:57:15 +0000 (16:57 +0100)
commit00211fc69c926d6c8f6e3f3cf1d8802623db2af9
tree130deac098bbcf765b6402f5113b328e5bbbcb34
parente63eea8ea358041610c3f9a9ed4d5a1e44be5cc4
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