Subject: bug#24973: [regression] [d-f] no longer includes e with acute accent in single-byte locales

From: Dennis Clarke <[email-masked]>
Date: Sun, 20 Nov 2016 16:38:29 -0500

On 11/20/2016 04:14 PM, Stephane Chazelas wrote:
> printf '\351\n' | LC_ALL=en_US.iso88591

On a Solaris 10 system the locales are named a bit different :

dasoyva_$ locale -a
C
POSIX
en_CA
en_CA.ISO8859-1
en_CA.UTF-8
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.ISO8859-15@euro
en_US.UTF-8
es
es_MX
es_MX.ISO8859-1
es_MX.UTF-8
fr
fr_CA
fr_CA.ISO8859-1
fr_CA.UTF-8

dasoyva_$ LC_ALL=en_US.ISO8859-1 /usr/bin/printf '\351\n' | od -Ax -t x1 -v
0000000 e9 0a
0000002

I am not sure if the single byte 0xe9h is correct at all for this test.

dasoyva_$ LC_ALL=en_US.UTF-8 /usr/bin/printf '\351\n' | od -Ax -t x1 -v
0000000 e9 0a
0000002

dasoyva_$ LC_ALL=en_US.ISO8859-1 /usr/bin/printf '\351\n'
�

Wonder how I would test this on a strict POSIX system here. Any thoughts?

Dennis