For csv file which encoding is utf-16le. When I try to read data of csv it gives me junk character
To get file encoding I use below command
file -bi test.csv
it gives me text/plain; charset=utf-16le
To read file data I use below command
head -n1 test.csv | tr '^' ','
it gives me ??colon1,colon2,colon3
Why it is giving me junk charchater