Get file encoding via Linux shell

To find out which encoding a certain file has, you can use the file command on Linux shell:

Output example:

 

Leave a Reply

Your email address will not be published. Required fields are marked *