However,
$ LANG=C.UTF-8 grep somestring some_iso8859_file.txt # reproduces the issue ("binary file matches") $ LANG=C grep somestring some_iso8859_file.txt # expected (text) output
$ LANG=C.UTF-8 grep somestring some_utf8_file.txt # expected (text) output $ LANG=C grep somestring some_utf8_file.txt # expected (text) output
I don't know if this is consistent with issue 1547466
However,
$ LANG=C.UTF-8 grep somestring some_iso8859_ file.txt # reproduces the issue ("binary file matches") file.txt # expected (text) output
$ LANG=C grep somestring some_iso8859_
$ LANG=C.UTF-8 grep somestring some_utf8_file.txt # expected (text) output
$ LANG=C grep somestring some_utf8_file.txt # expected (text) output
I don't know if this is consistent with issue 1547466