bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: bug#20526: grep BUG: text file is detected as binary
Date: Fri, 1 Jan 2016 21:22:54 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Norihiro Tanaka wrote:
why this check is applied in only multi-byte locale?

Ouch, good point. I missed the possibility of a unibyte encoding where not all bytes are valid unibyte characters. I installed the attached additional patch to fix this, and to test for the bug I recently introduced here.

Attachment: 0001-grep-fix-bug-with-with-invalid-unibyte-sequence.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]