>From ca68df394ba1d9359c0e4d825394ab875c7fe1c2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 7 Jan 2016 21:34:00 -0800 Subject: [PATCH 2/2] doc: mention unibyte encoding fix * NEWS: Document recent fix for encoding errors in unibyte locales. --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS b/NEWS index f572a0c..a0f6bbb 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,11 @@ GNU grep NEWS -*- outline -*- grep -c no longer stops counting when finding binary data. [bug introduced in grep-2.21] + grep no longer outputs encoding errors in unibyte locales. + For example, if the byte '\x81' is not a valid character in a + unibyte locale, grep treats the byte as binary data. + [bug introduced in grep-2.21] + grep -oP is no longer susceptible to an infinite loop when processing invalid UTF8 just before a match. [bug introduced in grep-2.22] -- 2.5.0