Is there a program that we can add it a folder and convert all .srt files exist at this folder to utf-8 srt files?
I want to can convert any language like Greek.
Don't need to do it 1 by 1 file.
Edit: I believe i find from my older topic.
The program "Subtitle edit" i believe it do the work fine.
+ Reply to Thread
Results 1 to 4 of 4
-
Last edited by fits79; 18th Aug 2022 at 00:44.
-
If you are a Linux user i have a script to convert srt to utf8
#!/bin/sh
ls *.srt | while read file ; do
charset=`file -bi $file | sed 's/.*charset=//'`
echo '###' $file $charset
case "$charset" in
us-ascii) charset="";; # no conversion needed
utf-8) charset="";; # no conversion needed
binary) charset="";; # no charset detected
*) ;;
esac
if [ "$charset" != "" ] ; then
iconv -f "$charset" -t UTF-8 -o "$file".utf "$file" && mv "$file".utf "$file"
fi
done
If you are a Windows users you have to convert this script to Windows batch style, i can't help you with that. -
For others who are looking for this solution open subtitle edit/tools/batch convert.
I think,therefore i am a hamster.
Similar Threads
-
Want to merge sentences in SRT files
By cheezecakey in forum SubtitleReplies: 1Last Post: 21st May 2022, 03:58 -
Removing formatting from srt files?
By branch in forum SubtitleReplies: 30Last Post: 15th Jan 2021, 10:20 -
How do i convert .srt files to .odt files?
By jooj in forum SubtitleReplies: 2Last Post: 25th Dec 2019, 19:32 -
could i play different srt files for a movie in my tv
By jraju in forum SubtitleReplies: 29Last Post: 10th Nov 2019, 02:20 -
Trimming sentences in SRT files...
By thebib62 in forum SubtitleReplies: 2Last Post: 25th Oct 2019, 01:59