utrac

Command line tool that recognize the encoding of an input file
  http://utrac.sourceforge.net/
  0
  no reviews



Utrac stands for universal text recognizer and converter. it is a command line tool and a library that recognize the encoding of an input file (ex: utf-8, iso-8859-1, cp437...) and its end-of-line type (cr, lf, crlf).

it has three main features:

* automatic recognition (depending on the file and on the system's locale),
reliable in most cases;
* assistance for verification or manual recognition;
* conversion to an other charset and/or end-of-line type.