Search code examples
utf-8opencarticonv

Convert ISO-8859-7 to utf-8 without bom from linux terminal


Hi I feel like I tried everything now and I wonder if you can help me out.

I want to import some products to my Opencart store using Total Import, and I have this file right here https://drive.google.com/open?id=0B9K8gCgLRq9zLTQ3c0NaSHdERGs . For some reason when I convert it locally with Notepad++ to UTF-8-BOM Total Import recognises the language and works perfectly, but I need this to be done automatically and I cannot find how to convert it with "iconv" or "recode" commands for some reason.

Can you please help me out?


Solution

  • iconv --from ISO-8859-7 --to UTF8 file.txt > new.txt