A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
iconv and sed help
I have a file which is a UTF-8 file type which i need to convert into ISO-8859-1 file type.
Now the UTF-8 file type contains characters like √•/√§/√∂ and i dont want these characters.
So, i apply the sed command.
Now when i view this file, there are no such characters like √•/√§/√∂
i use iconv command to covert that UTF-8 (output.txt) file type into ISO-8859-1 file type
when i view the file type using file command it tells that its an ASCII file type not the ISO-8859-1
newfile: ASCII text, with CRLF line terminators
I don't understand what went wrong. I have also attached that UTF-8 file with this post.