Why isn't it possible to convert
us-ascii or
ASCII to
UTF-8? Or am I doing something wrong?
Code:
root@martin-desktop:/home/martin/test# nano file1.txt
root@martin-desktop:/home/martin/test# file --mime file1.txt
file1.txt: text/plain charset=us-ascii
root@martin-desktop:/home/martin/test# iconv -c -f ASCII -t UTF-8 file1.txt > file2.txt
root@martin-desktop:/home/martin/test# file --mime file2.txt
file2.txt: text/plain charset=us-ascii
Even from
us-ascii to
ISO-8859-15 doesn't work:
Code:
root@martin-desktop:/home/martin/test# iconv -c -f ASCII -t ISO-8859-15 file1.txt > file3.txt
root@martin-desktop:/home/martin/test# file --mime file3.txt file3.txt: text/plain charset=us-ascii
What might be the problem?