[PATCH] Cygwin: pty: Add workaround for ISO-2022 and ISCII in convert_mb_str().

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Sep 11 18:57:06 GMT 2020


On Sep 12 03:37, Takashi Yano via Cygwin-patches wrote:
> On Sat, 12 Sep 2020 02:38:43 +0900
> Takashi Yano via Cygwin-patches <cygwin-patches@cygwin.com> wrote:
> > How about the patch attached?
> > I think this is safer than previous patch.
> 
> I have revised this patch to fit current git head, and submit
> to cygwin-patches@cygwin.com.

Thanks, but I didn't apply this one because it doesn't really make sense
to go to the extra effort to support outdated and incompatible codepages
we don't handle as Cygwin codeset at all.  IMHO it's not worth to call
another MBTWC just to check if a codepage supports the MB_ERR_INVALID_CHARS
flag.


Corinna


More information about the Cygwin-patches mailing list