Comment 23 for bug 1547466

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 1547466] Re: grep switches into binary mode while processing a text file

teo1978 [2016-04-28 22:08 -0000]:
> Most of the times, text files that are incorrectly processed as binary
> are ISO-8859-whatever encoded while files that are matched like text as
> expected are utf8-encoded (my locale is utf8).

This has been the case for a long time. If you try to show non-UTF-8
data in an UTF-8 locale you'll just see garbage (or other encoding
mismatches).

This bug is about switching to binary mode in the 'C' locale only.