[PATCH v3 0/2] Cygwin: pty: Changes regarding charset conversion.

Takashi Yano takashi.yano@nifty.ne.jp
Thu Sep 10 00:00:31 GMT 2020


On Wed, 9 Sep 2020 23:46:04 +0200
Corinna Vinschen wrote:
> On Sep 10 00:27, Takashi Yano via Cygwin-patches wrote:
> > Takashi Yano (2):
> >   Cygwin: pty: Revise convert_mb_str() function.
> >   Cygwin: pty: Fix input charset for non-cygwin apps with disable_pcon.
> > 
> >  winsup/cygwin/fhandler_tty.cc | 151 +++++++++++++++++++++++-----------
> >  1 file changed, 103 insertions(+), 48 deletions(-)
> 
> Pushed.

Thanks.

> Do we really have to support UTF-7?  Is anybody actually using it?
> Usually Cygwin does not support UTF-7 at all.

term_code_page can never be UTF-7, however, GetConsoleCP() and
GetConsoleOutputCP() can be. Therefore, I think it is necessary
for non-cygwin apps if pseudo console is disabled.

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


More information about the Cygwin-patches mailing list