Alin Popa wrote:
> Hi guys,
> 
> After some research I still cannot find a way how to see if a file is
> plain text or binary. In fact I want to check if a file is plain text no
> matter what characters are in it.
> This thing may be possible by using ruby ?

I think so, but it's a little unclear exactly what you're trying to 
achieve.  Do you have an example?

-- 
Alex