I installed Cygwin and I'd like to grep some Unicode files to see what lines it's used on, but all I get is the following:
Code:
$ grep -ni '\bI\b' Pronouns.txt
Binary file Pronouns.txt matches
$ grep -niU '\bI\b' Pronouns.txt
Binary file Pronouns.txt matches
$ grep -V
grep (GNU grep) 2.5
Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Does anybody know how to make grep work with Unicode files? Or are there any command-line tools that can convert Unicode to/from ASCII?
Thanks in advance.