Re: From wchar_t to char32_t

2023-07-06 Thread Paul Eggert
On 2023-07-06 11:34, Bruno Haible wrote: Indeed, this is the solution that makes no assumptions. Find a patch that does it. Thanks, I think. I installed that, and in reviewing it found a minor glitch or two and some opportunities for simplification. I installed the attached further patch whi

Re: A failed test against aarch64

2023-07-06 Thread Bruno Haible
Mosab Al-Zoubi wrote: > Please see the bug at RHBZ: > > https://bugzilla.redhat.com/show_bug.cgi?id=2220874 Thanks for the report. I have reported a bug upstream in glibc https://sourceware.org/bugzilla/show_bug.cgi?id=30620 and added a workaround in gnulib. 2023-07-06 Bruno Haible

Re: From wchar_t to char32_t

2023-07-06 Thread Bruno Haible
Paul Eggert wrote: > I still see a couple of problems with it. First, it mishandles the case > where mbrtoc32 returns 0, which ISO C allows. I thought that we could assume that no locale encoding maps a multibyte sequence other than "\0" to (char32_t) 0. But OK, if you don't want to assume that,

A failed test against aarch64

2023-07-06 Thread مصعب الزعبي
Please see the bug at RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2220874 Regards, MOSAAB