Hi,

I noticed that grep 2.21-1 regards ISO-8859-15 encoded files as binary, if
LC_ALL is set to en_US.UTF.

I am not sure if this is a bug or an expected behaviour change in 2.21-1, but
since I could not find anything in the changelog that directly mentions it, I am
reporting it. (I could not find anything on http://debbugs.gnu.org)

How to reproduce:

Create a iso-8859-15 encoded test file with: test ä ö ü

export LC_ALL=en_US.UTF8

grep test testfile

Binary file test matches

export LC_ALL=en_US

(grep works as expected)

The behaviour for LC_ALL=en_US.UTF8 was changed in 2.21-1 and worked correctly
in 2.20-1.

I am testing this on arch with glibc 2.20-4 (if that is relevant).

Please let me know if you need more informations.

Regards,

    Martin

--
Martin Hoch                        Friedrich-Bergius-Ring 15
fidion GmbH                                   97076 Würzburg



Reply via email to