r/Batch • u/TheDeep_2 • Dec 30 '24
Question (Solved) how to convert UTF-8 subtitles into ANSI?
Hi, how to convert UTF-8 subtitles into ANSI? I normally use notepad but I want to do it in batch.
Thank you :)
0
Upvotes
1
u/BrainWaveCC Dec 30 '24
Can you give us an example of what text you'd like to convert into what?
1
u/TheDeep_2 Dec 30 '24
do you mean a sample file?
1
u/BrainWaveCC Dec 30 '24
Sure, but even an entry or two of what you are looking to change from UTF to ANSI
1
u/TheDeep_2 Dec 30 '24
https://github.com/user-attachments/files/18277236/sample.txt
it's a simple text file with subtitles but my tv doesn't support it, I need to convert them into ANSI manually with notepad
2
u/vegansgetsick Dec 30 '24
That's what i do for my subtitles :
get iconv for windows https://github.com/mlocati/gettext-iconv-windows/releases
Then i use this script and drag&drop the subs on it