First force UTF-8 proper, then remove null characters (gedit if very unhappy about them).
iconv -c -f 'UTF-8' -t 'UTF-8//IGNORE' input-file | tr -d '\0' >output-file
First force UTF-8 proper, then remove null characters (gedit if very unhappy about them).
iconv -c -f 'UTF-8' -t 'UTF-8//IGNORE' input-file | tr -d '\0' >output-file
thanks for your help my friend, I spent a lot of time looking for a solution, yours was the only that solve it.
regards