@FILETYPE[filename] - returns the encoding type of the file.

 

You must enable UTF8 input for TCC to recognize UTF8 files; see OPTION / Setup.

 

The possible return values are:

 

ASCII

UTF8

UTF16