Subject: Re: bug#20526: grep BUG: text file is detected as binary

From: Norihiro Tanaka <[email-masked]>
Date: Sat, 02 Jan 2016 06:39:03 +0900

On Thu, 31 Dec 2015 10:04:06 -0800
Paul Eggert <[email-masked]> wrote:

> Yes, it's expected.  Thanks, this should be stated more clearly, so I installed the attached documentation patch.

Thanks.

By the way, why this check is applied in only multi-byte locale?  e.g.
if \200 is included in en_US.iso88591 which is not POSIX locale, I think
grep may need to return `Binary file ... matches', as mbrlen(3) returns
-1 for \200.