Re: portability issues with unicodeio

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

1)
$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

2)
$ ldd $coreutilsbin/printf
        libc.so.1 =>     /lib/libc.so.1


Regards,

--- Kiyoshi




----- Original Message -----
> From: Bruno Haible <[email protected]>
> To: [email protected]
> Cc: Akim Demaille <[email protected]>; Kiyoshi KANAZAWA <[email protected]>; Bison Bugs <[email protected]>
> Date: 2020/7/9, Thu 03:08
> Subject: Re: portability issues with unicodeio
> 
> Hi Akim, Kiyoshi-san,
> 
>>  Unfortunately on Kiyoshi's environment (SunOS hidden 5.11 11.3 i86pc 
> i386 i86pc,
>>  GCC 9.3.0) we get '?' instead of '.' in the C locale.  We 
> get a genuine ASCII
>>  '?', it's not some fallback from the terminal which fails to 
> display the
>>  character.  And we properly get the bullet with en_US.UTF-8.
> 
> I am adding a unit test for the 'unicodeio' module (see below). It 
> contains
> a test for the C locale, and this test works fine on Solaris 11.3.
> 
> Therefore I have to ask Kiyoshi two questions:
> 
> 1) What is the output of the program 'locale'?
>    $ locale
> 
> 2) What are the link dependencies of the coreutils printf program?
>    $ ldd $coreutilsbin/printf
> 
> Bruno
> 
> 
> 2020-07-08  Bruno Haible  <[email protected]>
> 
>     unicodeio: Add tests.
>     * tests/test-unicodeio.c: New file.
>     * tests/test-unicodeio1.sh: New file.
>     * tests/test-unicodeio2.sh: New file.
>     * tests/test-unicodeio3.sh: New file.
>     * modules/unicodeio-tests: New file.
> 
> 2020-07-08  Bruno Haible  <[email protected]>
> 
>     unicodeio: Document link requirements.
>     * modules/unicodeio (Link): New section.
>
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.