I have a csv file in hand. When I ran 'file -i filename', it shows that it's encoded as
us-ascii. But when I ran
cat filename | csvcut -t -e us-ascii, I got an error:
"Your file is not "us-ascii" encoded. Please specify the correct encoding with the -e flag or with the PYTHONIOENCODING environment variable"
I also found the file has HEX codes like 0xd1, which caused some issues. So how do I find the correct encoding of this file? Ideally I would like to convert it to utf-8 encoding. What shall do?