Monday, May 17, 2010

convert files from one encoding to another using iconv

I have subtitles that was written on M$ windows that were saved using WINDOWS-1256 encoding and were not working on my Linux box.

I found this command to convert from one encoding to another:

iconv -f WINDOWS-1256 <Ice_age_3.sub> Ice_age_3_utf8.sub

No comments: