bug#21604: grep doesn't match diacritical chars in ISO-8859 files

2015-10-02 Thread Santiago Ruano Rincón
Hi, Moreover http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19230 , several debian users report that grep doesn't match characters with diacritical marks in ISO-8859 files, inside a Unicode enviroment: % file /tmp/q.h /tmp/q.h: ISO-8859 text % grep c /tmp/q.h Coincidencia en el fichero binario /t

bug#21604: grep doesn't match diacritical chars in ISO-8859 files

2015-10-02 Thread Paul Eggert
On 10/02/2015 02:43 AM, Santiago Ruano Rincón wrote: grep doesn't match characters with diacritical marks in ISO-8859 files, inside a Unicode enviroment That is normal and expected behavior. In a UTF-8 locale, "á" is represented by the two bytes 0xC3 and 0xA1. In an ISO-8859 file, the same