On Aug 29, 2007, at 2:14 PM, Rebhan, Gilbert wrote:

> I want to check the file encoding of files in a directory.

Have you tried charguess?

   http://raa.ruby-lang.org/project/charguess

-- fxn