1. Get encoding:
2. Change it:
file -bi test.txt text/plain; charset=us-ascii
2. Change it:
iconv -f ascii -t utf8 [filename] > [newfilename]
