summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2007-05-26 07:08:18 +0200
committerJim Meyering <jim@meyering.net>2007-05-26 07:13:50 +0200
commite82c7ddd4737d3e402cb6c73d91b50afe8c5b7f7 (patch)
tree8499ecbe6d89853aeeee0465f99c4c3ce3c81133 /NEWS
parent8ab7f351a139ab25a14843c69699069242bfc510 (diff)
downloadcoreutils-e82c7ddd4737d3e402cb6c73d91b50afe8c5b7f7.tar.xz
wc: ignore multibyte-character decoding errors
* src/wc.c (wc): Don't issue an error message when mbrtowc indicates that we have seen an invalid byte sequence. This makes "wc /bin/sh" bearable (though the word and line counts are likely not to be useful). * NEWS: Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ea08e0a92..715b0d698 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,11 @@ GNU coreutils NEWS -*- outline -*-
option of the same name, this makes uniq consume and produce
NUL-terminated lines rather than newline-terminated lines.
+ wc no longer warns about character decoding errors in multibyte locales.
+ This means for example that "wc /bin/sh" now produces normal output
+ (though the word count will have no real meaning) rather than many
+ error messages.
+
** Bug fixes
cut now diagnoses a range starting with zero (e.g., -f 0-2) as invalid;