No I still have problems with a file with Swedish characters. In a live Ubuntu 16.04 LTS I installed grep version 2.25-1~16.04.1, but it did not help, as you can see from the following dialogue in a terminal window.
ubuntu@ubuntu:~$ apt-cache policy grep
grep:
Installerad: 2.25-1~16.04.1
Kandidat: 2.25-1~16.04.1
Versionstabell:
*** 2.25-1~16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.24-1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ubuntu@ubuntu:~$ grep ning seen-binary-by-grep.txt
Binary file seen-binary-by-grep.txt matches
ubuntu@ubuntu:~$ grep -a ning seen-binary-by-grep.txt
vMgs ingen l�sning - the Swedish character o-umlaut
osmak ingen l�sning
smak lösningen - the solution
ubuntu@ubuntu:~$ tail -n1 seen-binary-by-grep.txt |grep ning
smak lösningen - the solution
ubuntu@ubuntu:~$ tail -n2 seen-binary-by-grep.txt |grep ning
Binary file (standard input) matches
ubuntu@ubuntu:~$ tail -n2 seen-binary-by-grep.txt |grep -a ning
osmak ingen l�sning
smak lösningen - the solution
ubuntu@ubuntu:~$
-o-
This works with older versions of grub, so I would call it a regression.
No I still have problems with a file with Swedish characters. In a live Ubuntu 16.04 LTS I installed grep version 2.25-1~16.04.1, but it did not help, as you can see from the following dialogue in a terminal window.
ubuntu@ubuntu:~$ apt-cache policy grep archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages dpkg/status archive. ubuntu. com/ubuntu xenial/main amd64 Packages by-grep. txt by-grep. txt matches by-grep. txt by-grep. txt |grep ning by-grep. txt |grep ning by-grep. txt |grep -a ning
grep:
Installerad: 2.25-1~16.04.1
Kandidat: 2.25-1~16.04.1
Versionstabell:
*** 2.25-1~16.04.1 500
500 http://
100 /var/lib/
2.24-1 500
500 http://
ubuntu@ubuntu:~$ grep ning seen-binary-
Binary file seen-binary-
ubuntu@ubuntu:~$ grep -a ning seen-binary-
vMgs ingen l�sning - the Swedish character o-umlaut
osmak ingen l�sning
smak lösningen - the solution
ubuntu@ubuntu:~$ tail -n1 seen-binary-
smak lösningen - the solution
ubuntu@ubuntu:~$ tail -n2 seen-binary-
Binary file (standard input) matches
ubuntu@ubuntu:~$ tail -n2 seen-binary-
osmak ingen l�sning
smak lösningen - the solution
ubuntu@ubuntu:~$
-o-
This works with older versions of grub, so I would call it a regression.