powered by
Call the file command line tool with option -i.
file
-i
file_encoding(path)
A tibble of file encoding.
A local file path or glob to check.