David Starner wrote:
> 
> On Tue, Oct 23, 2001 at 09:44:14AM -0400, D. Dale Gulledge wrote:
> > is saved the same way.  So I guess my question is whether there is
> > already a tool out there that will tell me whether a file is UTF-8 or
> > ISO 8859.
> 
> Recent versions of file. It's not 100%, but unless all you have is
> Nestle'(r) (in iso-8859-1) in the file, it should get it right.

I tried it.  For the files I have `file' correctly distinguished between
UTF-8 and 8859.  It is not able to determine which flavor of 8859, but I
expected that.

-- 
D. Dale Gulledge, Sr. Programmer,
[EMAIL PROTECTED]
C, C++, Perl, Unix (AIX, Linux), Oracle, Java,
Internationalization (i18n), Awk.
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to