[PATCH 3/3] fhandler_pty_slave::setup_locale: respect charset == "UTF-8"

Takashi Yano takashi.yano@nifty.ne.jp
Mon Sep 7 08:38:24 GMT 2020


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".

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin-patches mailing list