Re: portability issues with unicodeio

Akim Demaille <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Hi Bruno,

> Le 9 juil. 2020 à 17:31, Bruno Haible <[email protected]> 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  <[email protected]>
> 
> 	unicodeio: Fix wrong result on Solaris 11.
> 	Reported by Kiyoshi Kanazawa <[email protected]>
> 	via Akim Demaille <[email protected]> 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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.