Re: Fix broken UTF-8 decoding

2023-03-06 Thread Miod Vallat
> Currently it is not possible to use unicode codepoints > 0xFF on the console, > because our UTF-8 decoding logic is badly broken. > > The code in question is in wsemul_subr.c, wsemul_getchar(). > > The problem is that we calculate the number of bytes in a multi-byte > sequence by just looking

Re: Fix broken UTF-8 decoding

2023-02-25 Thread Crystal Kolipe
On Sat, Feb 25, 2023 at 08:29:54PM +0100, Steffen Nurpmeso wrote: > Crystal Kolipe wrote in > : > |Currently it is not possible to use unicode codepoints > 0xFF on the \ > |console, > |because our UTF-8 decoding logic is badly broken. > | > |The code in question is in wsemul_subr.c,

Re: Fix broken UTF-8 decoding

2023-02-25 Thread Steffen Nurpmeso
Crystal Kolipe wrote in : |Currently it is not possible to use unicode codepoints > 0xFF on the \ |console, |because our UTF-8 decoding logic is badly broken. | |The code in question is in wsemul_subr.c, wsemul_getchar(). | |The problem is that we calculate the number of bytes in a