iconv-1.9.2.win32

Status
Not open for further replies.

k2k2000

Registered
Messages
727
iconv-1.9.2
Code:
The iconv program converts text from one encoding to another encoding. 
More precisely, it converts from the encoding given for the -f option 
to the encoding given for the -t option.
if you want to convert srt subtitle files,
from X to UTF-8 character encoding,
useful for watching (Arabic, Hebrew, Farsi...) srt subtile correctly on enigma2.

example:
arabic codepage to utf-8
Code:
C:\iconv>iconv -f [B]CP1256[/B] -t UTF-8 The.Spirit.srt > The Spirit.utf8.srt
hebrew codepage to utf-8
Code:
C:\iconv>iconv -f [B]CP1255[/B] -t UTF-8 The.Spirit.srt > The Spirit.utf8.srt
 

arken

Registered
Messages
293
Thank you k2k2000.
To make the process more easy i suggest this:

1. Make a .BAT file named convert.bat
2. Paste into file:
Code:
d:\videoedit\iconv\iconv.exe -f cp1251 -t UTF-8 %1 > %~n1.utf8.srt
(you need to change your path to iconv.exe and your source code page)
3. Now you just need to drag & drop any .srt file to convert.bat to create converted file with same name and .utf8.srt extension into the source directory.
 
Last edited:
Status
Not open for further replies.
Top