is file text.txt a text file?
is file text.txt a text file?
How I can check that file text.txt is plain text file?
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: is file text.txt a text file?
Checking for a unprintable characters is a typical way of determining whether a file contains binary or text data. IsPrint() could come in handy here.