[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19985: active locale impacts binary data detection?
From: |
Mike Frysinger |
Subject: |
bug#19985: 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
test-mixed.gz
Description: Binary data
signature.asc
Description: Digital signature
- bug#19985: active locale impacts binary data detection?,
Mike Frysinger <=