Add support for Hebrew subtitles.
Fix wrong subtitle encoding for many languages

This fixes wrong encoding for Bulgarian, Hebrew, French, Turkish,
Romanian, Russian and Ukrainian.