I have an Arabic file encoded in ISO8859-15. How can I convert it into UTF8?
I used iconv but it doesn\'t work for me.
iconv -f ISO-8859-15
in my case, the file command tells a wrong encoding, so i tried converting with all the possible encodings, and found out the right one.
execute this script and check the result file.
for i in `iconv -l`
do
echo $i
iconv -f $i -t UTF-8 yourfile | grep "hint to tell converted success or not"
done &>/tmp/converted