Linux file encoding
Show file encoding
$ file test.txt
test.txt: ASCII text
$ enca -L none text.txt
7bit ASCII characters
Change encoding with iconv
Converting Unicode to UTF-8 Using Console Tools in Linux
Show available encodings:
iconv -l
Convert