As I said before: It's not possible to know. Well at least not always.
A utf8 file is always a valid ASCII file too(at least for the latin code page).
It may just be, that some of the utf8 chars form a sequence of 2,3 or more chars (including accented, or graphical symbols)
An ASCII file is not always a valid UTF8 => so that can be tested. (There probably are some tests available, but I don't know where, sorry)
Furthermore, ascii is not equal to ascii, there are many codepages. The same exact same file can be interpreted in any codepage, and will result in a different text.
There is also sometimes a utf8 header in a file, but it is not present in all utf8 files. If it is, you need to remove it.
Sorry, I know it isn't much help...
Example:
let's say your file contains 2 bytes: c3 84
It could be utf8: "Ä" (A-umlaut)
or ISO 1252 Latin-1: "Ä" (A with ~ and lower/opening double quote)
or even some other combination of 2 chars, in another ascii table
All valid encodings => so who knows.