You can’t tell whether a file is in MacRoman, cp-1252/iso-8859-1, or iso-8859-15.
The approach I use is frequency analysis, but that’s based on my assumption of which characters would be the more frequently used characters.