]> Savannah Git Hosting - gnulib.git/commit
localename-unsafe: Improve the Windows UTF-8 environment support.
authorBruno Haible <bruno@clisp.org>
Tue, 24 Dec 2024 21:10:47 +0000 (22:10 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 24 Dec 2024 21:51:37 +0000 (22:51 +0100)
commit8e795a8d9f8c3269a3d30d0d1adbaf0ea9ad4a84
tree48f8ea135adfb7ec68a2f5e0871e9b3c68095fe9
parent0f5245ac61490dd05dec8eb683d371c127bb860f
localename-unsafe: Improve the Windows UTF-8 environment support.

Reported by Lasse Collin <lasse.collin@tukaani.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-12/msg00165.html>.

* lib/localename-unsafe.c (gl_locale_name_from_win32_LANGID): In locale
names with a modifier, insert the codeset part ".UTF-8" before the
modifier.
ChangeLog
lib/localename-unsafe.c