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

Previous Next

Package: grep;

Reported by: Stephane Chazelas <stephane.chazelas <at> gmail.com>

Date: Sun, 20 Nov 2016 21:15:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dennis Clarke <dclarke <at> blastwave.org>
To: bug-grep <at> gnu.org, stephane.chazelas <at> gmail.com
Subject: Re: 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
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 <at> 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





This bug report was last modified 8 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.