emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#19985: closed (active locale impacts binary data d


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19985: closed (active locale impacts binary data detection?)
Date: Thu, 31 Dec 2015 03:26:02 +0000

Your message dated Wed, 30 Dec 2015 19:25:04 -0800
with message-id <address@hidden>
and subject line Re: grep BUG: text file is detected as binary
has caused the debbugs.gnu.org bug report #20526,
regarding active locale impacts binary data detection?
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20526: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20526
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: active locale impacts binary data detection? Date: Mon, 2 Mar 2015 20:59:51 -0500
i've got some users reporting diff behavior between 2.20 and 2.21.  the example 
file is attached and has mixed encoding.  i think the new behavior is correct, 
but want to make sure it's expected, or that the maintainers don't have 
different ideas here.

with 2.20:
$ LC_ALL=en_US.UTF8 grep 8 test-mixed
  852  cd  ΘΕΜΑΤΑ\ ΠΑΝΕΛΛΗΝΙΩΝ/

with 2.21:
$ LC_ALL=en_US.UTF8 grep 8 test-mixed
Binary file test-mixed matches
$ LC_ALL=en_US.UTF8 grep -a 8 test-mixed
  852  cd  ΘΕΜΑΤΑ\ ΠΑΝΕΛΛΗΝΙΩΝ/
$ LC_ALL=C grep 8 test-mixed
  852  cd  ΘΕΜΑΤΑ\ ΠΑΝΕΛΛΗΝΙΩΝ/
-mike

Attachment: test-mixed.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message --- Subject: Re: grep BUG: text file is detected as binary Date: Wed, 30 Dec 2015 19:25:04 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 I installed into Savannah a patch (attached) that should fix this problem in typical cases, and am boldly marking the bug as done. Please give the fix a try if you have the time. Thanks.

Attachment: 0001-grep-be-less-picky-about-encoding-errors.patch
Description: Text Data


--- End Message ---

reply via email to

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