fixes #236 - Subtitle charset

pull/702/head
Luke Pulverenti 11 years ago
parent aec36e8096
commit 4b3ce596a1

@ -712,12 +712,38 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
{
switch (language.ToLower())
{
case "pol":
case "cze":
case "ces":
case "slo":
case "slk":
case "hun":
case "slv":
case "srp":
case "hrv":
case "rum":
case "ron":
case "rup":
case "alb":
case "sqi":
return "-sub_charenc windows-1250";
case "ara":
return "-sub_charenc windows-1256";
case "heb":
return "-sub_charenc windows-1255";
case "grc":
case "gre":
return "-sub_charenc windows-1253";
case "crh":
case "ota":
case "tur":
return "-sub_charenc windows-1254";
case "rus":
return "-sub_charenc windows-1251";
case "vie":
return "-sub_charenc windows-1258";
default:
return string.Empty;
return "-sub_charenc windows-1252";
}
}

Loading…
Cancel
Save