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

Re: filtering unicode files



On Wed, Nov 13, 2002 at 02:49:29PM -0300, Eduardo Gargiulo wrote:
> Hi all.
> 
> I´m trying to use grep to filter a string on a unicode file. If I make a
> cat on the file, i can see the contents, but if i pipe a grep after the
> cat, the string (exists in file) didn't match. Is it possible to use
> grep on unicode files? How? Is there any other tool to do that?

What do you mean by "unicode"? The man page of grep says it looks to
LC_CTYPE (among others) to determine how to interpret the file.  This
could make a difference.

-- 
static const char signature[] = 
	"Copyright (c) 2002 Eric G. Miller <egm2@jps.net>";



Reply to: