On Sun, Jul 06, 2003 at 08:21:36PM +0300, Shachar Shemesh wrote:
> Oleg Goldshmidt wrote:
> >
> >Another possibility, which may be not just as nice but equally
> >workable for many grepping purposes, is strings(1).
> >
> > 
> >
> Isn't Word Unicode? Doesn't that mean strings will be, pretty much, 
> useless with it?

Yes. I tried a couple of days ago with a certain document. 'iconv -f
UTF-16 -t UTF-8' didn't help either. iconv complained that this was not
the correct encoding.

I ended up removing many non-relevant characters such as: ^@, ^A, ^B
(this is how they appeared in vim) and got parts of readable text.

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to