[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] pdfmom: needs C locale?
From: |
Ralph Corderoy |
Subject: |
Re: [groff] pdfmom: needs C locale? |
Date: |
Sat, 10 Mar 2018 12:29:54 +0000 |
Hi Deri,
> > Does your grep behave like this? I used a UTF-8 terminal.
...
> Your example which produces the "Binary file" message, produces this:-
>
> $ LC_ALL=en_GB.utf8 grep y <<<$'x\xa0\xa0y'
> x��y
I don't know how all those other commands did. :-)
What's the output of
dpkg-query -W grep
grep --version
od -tx1z <<<$'x\xa0\xa0y'
LC_ALL=en_GB.utf8 grep z <<<$'x\xa0\xa0y'
LC_ALL=en_GB.utf8 grep z <<<$'x\xa0\xa0y\nz'
LC_ALL=en_GB.utf8 grep y <<<$'x\xa0\xa0y'
LC_ALL=en_GB.iso88591 grep y <<<$'x\xa0\xa0y'
LC_ALL=C grep y <<<$'x\xa0\xa0y'
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy