VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Hi there,

    I have multiple subtitle SRT files - inside different folders.
    Example;

    d:\show\1\subtitle1.srt
    d:\show\2\subtitle2.srt
    d:\show\3\subtitle3.srt
    d:\show\4\subtitle4.srt
    d:\show\5\subtitle5.srt
    d:\show\6\subtitle6.srt


    is there an easy way i can change them all in once to different Encoding?
    to UTF-8 to be exact..

    Now i need to go inside every folder. open the SRT subtitle file in notepad, Save As, Change to UTF-8. and overight the exiting one (i need it to be in the same name..)
    is really don't wan't to do this 400 times,,,

    i was Searching for a program or something in google,, no go..
    Please help.
    Thanks !
    Quote Quote  
  2. no problem with it being command line.
    but my files are srt. not txt.
    and how do type the command if i have different folders ?
    do i just run it in the rood drive of D ?
    Quote Quote  
  3. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    In the example script change .txt to .srt (srt files are just like normal text files)

    I don't know if it is possible to make it work for multiple folders. Maybe sub folders if iconv support it

    Add it to the path environment. Or put it in the windows directory, you can run it from anywhere than
    Quote Quote  
  4. Originally Posted by jan5678 View Post
    That's not for the Windows command-prompt.

    But for Windows it shouldn't be much different. Windows batch also has FOR ... DO and can work recursively in sub-directories with /r switch. (iconv does not come with Windows)
    Quote Quote  
  5. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    @sneaker
    You'r right i missed that the question in the provided link was about perl...

    Maybe there something like iconv for windows?
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    Quote Quote  
  7. As sneaker: a batch job with for /r and use Subtitle Edit cli

    SubtitleEdit /convert *.srt srt /encoding:utf-8 /outputfolder:c:\temp

    along with a "copy" to overwrite the original.
    Quote Quote  
  8. Marsia Mariner
    Guest
    Originally Posted by jan5678 View Post
    @sneaker
    Maybe there something like iconv for windows?
    Yep, there is.
    Image Attached Thumbnails Click image for larger version

Name:	iconv-4-windows.png
Views:	398
Size:	31.8 KB
ID:	39835  

    Quote Quote  
  9. Thanks all for your help,

    i am a little confused, what program to use ?
    Quote Quote  
  10. Member
    Join Date
    Feb 2019
    Location
    Romania
    Search PM
    Use Notepad++ !!! Open the *.srt files in Notepad++, then go to Encoding menu\Character Sets\Central European[for example]\Windows-1250 and then Encoding\Convert to UTF-8, Save All files. Thats All!
    Quote Quote  



Similar Threads