How can I be sure of the file encoding?

$ file --mime my.txt 
my.txt: text/plain; charset=iso-8859-1

Leave a Comment