How to check if the file has EBCDIC or ascii characters

Hi,

is there a way to check if the initial few characters are ebcdic or ascii in a file?

Try:

file filename
1 Like