There are a lot of subtitles in Persian saved with wrong encoding. there are some options in video players to fix & display this files correctly but there is only one windows software which actually fix the file & save it with correct encoding. I want to do this in python. I've tried many things but was unable to get this done. notepad says file is in ANSI so I opened it as 'Latin-1' in python & tried to decode & encode it as UTF-8 but it gives me the original file. file can be downloaded from https://ufile.io/np0rodjg also, fixed file with mentioned software can be downloaded from https://ufile.io/ignop48m how this can be done using python? Continue reading...