--- Begin Message ---
Subject: |
Re: latest grep considers text files as binary |
Date: |
Mon, 01 Dec 2014 09:29:15 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 12/01/2014 09:05 AM, Thomas Wolff wrote:
the mentioned patches are apparently intended to fix
issues in non-UTF-8 locales.
No, they're also needed for UTF-8 locales I'm afraid. There are some
security issues, not only having to do with grep's internals, but also
for the behavior of downstream programs that may be expecting UTF-8 text.
You can work around the problem with 'grep -a'.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#19241: latest grep considers text files as binary |
Date: |
Mon, 1 Dec 2014 09:53:01 -0800 |
On Mon, Dec 1, 2014 at 9:29 AM, Paul Eggert <address@hidden> wrote:
> On 12/01/2014 09:05 AM, Thomas Wolff wrote:
>>
>> the mentioned patches are apparently intended to fix
>> issues in non-UTF-8 locales.
>
>
> No, they're also needed for UTF-8 locales I'm afraid. There are some
> security issues, not only having to do with grep's internals, but also for
> the behavior of downstream programs that may be expecting UTF-8 text.
>
> You can work around the problem with 'grep -a'.
tags 19241 notabug
close 19241
thanks
Thanks for the report, but as you've seen (thanks, Paul), this is due
to documented and desirable behavior. The above marks this
auto-created issue as a non-bug in our tracker.
--- End Message ---