Comment 7 for bug 1535458

Revision history for this message
teo1978 (teo8976) wrote :

Are you sure this is the same as 1547466 ??

1547466 describes mode switching to binary in the middle of the file.

What I observe is that some text files are treated as binary. I never get an output like the one described in 1547466, where you get some matches as expected and then the output gets interrupted in the middle of the file with the phrase "binary file xxx matches". I always get either the expected text-mode output for the whole file or only the "binary match" phrase. The same files always produce the same output, consistently.

To me this looks a lot like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799956 and not much like issue 1547466.

Every single file that exhibits the issue that I have examined is ISO-8859-15. I have only looked at a few randomly. And a few that don't exhibit the issue which I have looked at randomly are all UTF-8. (to look at it I use Gedit and do a Save As; the encoding the file is in is, or is supposed to be, selected by default).
However, I have created an ISO-8859-15 file from scratch from Gedit and it does not reproduce the issue.