Re: portability issues with unicodeio

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

FYI, also checked on Solaris 11.4 x86/x64, and had the same result.


$ uname -a
SunOS hidden 5.11 11.4.0.15.0 i86pc i386 i86pc


$ LC_ALL=C $coreutilsbin/printf '\u2022\n' | od -t x1
0000000 3f 0a
0000002


$ LC_ALL=en_US.UTF-8 $coreutilsbin/printf '\u2022\n' | od -t x1
0000000 e2 80 a2 0a
0000004


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


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


--- Kiyoshi
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.