On Sep 7 17:38, Takashi Yano via Cygwin-patches wrote: > On Mon, 7 Sep 2020 10:27:38 +0200 > Corinna Vinschen wrote: > > On Sep 5 20:15, Takashi Yano via Cygwin-patches wrote: > > > On Sat, 5 Sep 2020 17:43:01 +0900 > > > Takashi Yano via Cygwin-patches <cygwin-patches@cygwin.com> wrote: > > > No. This does not fix enough. > > > > > > In the test case above, if it does not call setlocale(), > > > __eval_codepage_from_internal_charset() always returns "ASCII" > > > > ??? __eval_codepage_from_internal_charset() never returns ASCII. > > It returns UTF-8 by default. > > Sorry, I meant __locale_charset (__get_global_locale ()) returns > "ASCII".
Which is correct and translates to UTF8 as default charset. Corinna