News for hackers. Stuff that matters.
Re:If you use GNU grep on text files, use the -a (--text) op... by twic on Wednesday April 22, 2020 @03:19AM (#22943053)
If you're grepping for ASCII strings, then the UTF-8 pattern will match the Latin-1 file.
Re:If you use GNU grep on text files, use the -a (--text) op... by _ZeD_ on Wednesday April 22, 2020 @08:41AM (#22944902)
how can you expect to find ASCII strings in the parent's "text files with legacy (non UTF-8) encoding"?
Re:If you use GNU grep on text files, use the -a (--text) op... by twic on Wednesday April 22, 2020 @09:57AM (#22945576)
Because some of them, like Latin-1, which i mentioned in the comment to which you replied, are supersets of ASCII.