Get file encoding via Linux shell
To find out which encoding a certain file has, you can use the file command on Linux shell: $> file -i path_to_encoded_file.ending Output example: path_to_encoded_file.ending: text/plain; charset=iso-8859-1
To find out which encoding a certain file has, you can use the file command on Linux shell: $> file -i path_to_encoded_file.ending Output example: path_to_encoded_file.ending: text/plain; charset=iso-8859-1