Linux what encoding is my file saved as

From the console the file command can be used to describe a file (with the encoding it is saved as)

user@comp:~/workspace/project$ file dbase/init.sql 
dbase/init.sql: UTF-8 Unicode (with BOM) English text