]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: locale: Set default charset from Linux locale -> codeset mapping
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 25 Feb 2023 15:11:54 +0000 (16:11 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 25 Feb 2023 15:12:51 +0000 (16:12 +0100)
commit2483e54be852e66d1a96a0da2af8324b51ef8b65
treec35d1d6fce231f4f8991962fbfc92a5246d63915
parent7b591704b886ab60a6c31363bd776acafb32ed09
Cygwin: locale: Set default charset from Linux locale -> codeset mapping

Generate lc_def_codeset.h header containing the default mapping from
locale to codeset on Linux.  Use this mapping in __set_charset_from_locale
in the first place.

For every locale not covered by this table, just map Windows codepages
to equivalent codesets used on Linux/Unix, getting rid of LCIDs entirely.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/local_includes/lc_def_codesets.h [new file with mode: 0644]
winsup/cygwin/nlsfuncs.cc
This page took 0.029919 seconds and 5 git commands to generate.