I need a Unix command to convert a .csv file that is in UNICODE format to ANSI format.

The file is imported from the Cognos environment and I am unable to make any changes with the format in cognos so any help with the command would be appreciated.

share|improve this question

You can use iconv to convert between encodings

iconv -f utf8 -t ascii oldfile > newfile
share|improve this answer
    
will try that! thank you – sam Oct 19 '15 at 19:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.