File Encoding and Conversion

To see file encoding:

file -bi /path/to/file

To convert file:

iconv -f iso-xxyyzz -t utf-8 /path/to/file >/path/to/converted/file

Leave a Reply

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