[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: portability issues with unicodeio
From: |
Akim Demaille |
Subject: |
Re: portability issues with unicodeio |
Date: |
Fri, 10 Jul 2020 07:25:47 +0200 |
Hi Bruno,
> Le 9 juil. 2020 à 17:31, Bruno Haible <bruno@clisp.org> a écrit :
>
> Kiyoshi KANAZAWA wrote:
>> make check passed both on Solaris 11.3 & 11.4.
>
> Oh, I see. So my unit test was not complete.
>
>>> It is succeeds this test, then what is the difference between the
>>> coreutils printf program and the test-unicodeio.c program? Both call
>>> setlocale (LC_ALL, "").
>>
>> I do not understand.
>> What should I do next ?
>
> I single-stepped both the coreutils printf program and the test-unicodeio.c
> program, and found the issue.
>
>
> 2020-07-09 Bruno Haible <bruno@clisp.org>
>
> unicodeio: Fix wrong result on Solaris 11.
> Reported by Kiyoshi Kanazawa <yoi_no_myoujou@yahoo.co.jp>
> via Akim Demaille <akim.demaille@gmail.com> in
> <https://lists.gnu.org/archive/html/bug-gnulib/2020-07/msg00036.html>.
> * lib/unicodeio.c (unicode_to_mb): Handle question mark fallback
> characters on Solaris.
> * tests/test-unicodeio.c (main): In the "C" locale, expect either the
> UTF-8 output or the specified fallback.
Excellent! Bruno, thanks a lot for this.
Yesterday evening I launched the process of releasing a new beta so
that Kiyoshi could try it, but did not send the announcement. Yet
Kiyoshi managed to find out there was a new beta, and already confirmed
the issue is fixed.
Thanks to both of you.
Cheers!