From: "Rebhan, Gilbert" Date: 2007-08-21T15:04:10+09:00 Subject: Test if file is binary ? Hi , how to test if a file is binary or not ? There ain't something like File.binary = NoMethodError: undefined method `binary?' for File:Class Any ideas or libraries available ? Regards, Gilbert