I'm trying to use the tcs command to convert the encoding of some files, but it doesn't seem to have any effect.
$ file ascii.txt
ascii.txt: ASCII text
$ tcs -f ascii -t utf ascii.txt > f2.txt
$ file f2.txt
f2.txt: ASCII text
Any idea why the new file isn't in UTF encoding?
file
uses only the initial bytes, b) Text that uses only valid ASCII characters would have the same encoding in UTF-8 and ASCII, iirc.\ – muru Jan 30 '17 at 10:19