16
6
When I write :
file file1.txt
I have this output : Little-endian UTF-16 Unicode text, with CR line terminators
Then if I write :
file file2.txt
I have : ASCII text
file2.txt is created by making :
echo $var > "file2.txt"
I would like file2.txt have the same encoding than file1.txt. How can I do that ?
If you downvoted this, would you explain why? – Heath Borders – 2019-07-19T16:20:27.733