Re: [Mingw-w64-public] [PATCH] Re-implement (broken) mbrtoc16

2023-04-17 Thread Costas Argyris
Repeating email with patches renamed to .txt extension. On Sun, 16 Apr 2023 at 23:51, Costas Argyris wrote: > Fix the mbrtoc16 function reported here: > > https://sourceforge.net/p/mingw-w64/bugs/957/ > > In contrast to mbrtoc32 which was only slightly misbehaving (now fixed)

[Mingw-w64-public] [PATCH] Re-implement (broken) mbrtoc16

2023-04-17 Thread Costas Argyris
Fix the mbrtoc16 function reported here: https://sourceforge.net/p/mingw-w64/bugs/957/ In contrast to mbrtoc32 which was only slightly misbehaving (now fixed), mbrtoc16 is entirely broken, returning the UTF-8 bytes unchanged. The proposed implementation in this patch has mbrtoc16 assume UTF-8 in

[Mingw-w64-public] [PATCH] Fix mbrtoc32 function.

2023-03-20 Thread Costas Argyris
Fixing mbrtoc32 reported here: https://sourceforge.net/p/mingw-w64/bugs/957/ Bad array index in function implementation. Costas From d48a1e302ccd8de735b8129b2e212adb8e2fbc78 Mon Sep 17 00:00:00 2001 From: Costas Argyris Date: Sun, 19 Mar 2023 01:01:42 + Subject: [PATCH] Fix mbrtoc32