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: Stephane Chazelas
Subject: bug#24973: [regression] [d-f] no longer includes e with acute accent in single-byte locales
Date: Sun, 20 Nov 2016 21:14:31 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,

In grep 2.26,

echo é | grep '[d-f]'

no longer matches in locales like address@hidden or
en_GB.iso88591 where the character set is single-byte like
ISO-8859-1. It still works OK with UTF-8.

2.25 was OK. git bisect points to commit
2769d5331a38d623b67b1860ac46b39ff7e54aca

Reproduce with:

printf '\351\n' | LC_ALL=en_US.iso88591 ./src/grep '[d-f]' || echo fail

(assuming that locale is available on the system).

Tested on Ubuntu 16.04 amd64.

-- 
Stephane





reply via email to

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