bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Dennis Clarke
Subject: bug#24973: [regression] [d-f] no longer includes e with acute accent in single-byte locales
Date: Sun, 20 Nov 2016 16:38:29 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

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
address@hidden
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]