Why subtitles show gibberish
What you see on screen tells you exactly what went wrong. Find your symptom below.
Symptoms and causes
All examples below are the word «السلام» (peace) going wrong in different ways.
| You see | Cause | Fix |
|---|---|---|
| ÇáÓáÇã | An Arabic Windows-1256 file read as Western (Windows-1252) | Fix Arabic subtitles |
| ������ or empty boxes | A Windows-1256 file read as UTF-8 | Fix Arabic subtitles |
| السلام | A UTF-8 file opened as Windows-1252 and saved again (double encoding) | Fix Arabic subtitles (detected automatically) |
| ط§ظ„ط³ظ„ط§ظ… | A UTF-8 file opened as Windows-1256 and saved again (double encoding) | Fix Arabic subtitles (detected automatically) |
| Correct letters, full stop on the wrong side | Not an encoding problem: the player shows the line left-to-right | RTL punctuation fixer |
| Separate, unjoined Arabic letters | The player or TV font has no Arabic shaping | Change the subtitle font in the player; the file is fine |
The same patterns exist for other languages: Cyrillic read as Western looks like Ïðèâåò, Greek like ÊáëçìÝñá. The encoding converter handles those.
What an encoding is
A text file is only numbers. The encoding is the table that says which number is which letter. Old Windows code pages used one byte per letter and reused the same 128 numbers for different alphabets, so the number 199 is «ا» in Windows-1256 but «Ç» in Windows-1252. UTF-8 gives every character in every language its own code, which is why all modern players expect it.
Avoiding it next time
- Save subtitles as UTF-8. In Notepad: Save as, then Encoding: UTF-8.
- Do not edit SRT files in Word or other rich-text editors.
- If a file looks wrong, do not “fix” it by saving it again in another editor: that is how double encoding happens. Keep the original and convert it once.