Subtitles, Language detection

For help and support with Universal Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Vick
Posts: 15
Joined: Mon Feb 12, 2018 7:52 pm

Subtitles, Language detection

Post by Vick » Mon Feb 19, 2018 7:14 am

Hello,

it is not big problem, but mess my subtitle ordering. Very often the UMS detect Bulgarian subtitles like а Russian, is there a way to fix this?
Thanks!

User avatar
valib
Developer
Posts: 609
Joined: Fri Feb 08, 2013 3:11 am

Re: Subtitles, Language detection

Post by valib » Mon Feb 19, 2018 9:01 am

Unfortunatelly not. We use third party code ICU4J to detect the character set and language. It is not 100% accurate and some languages are not included like Bulgarian. See http://userguide.icu-project.org/conver ... -Encodings

EDIT: You ca do one thing. Rename your Bulgarian subtitles from e.g.

Code: Select all

Video_name.srt
to

Code: Select all

Video_name.bul.srt
and UMS will detect them correctly like Bulgarian.

Vick
Posts: 15
Joined: Mon Feb 12, 2018 7:52 pm

Re: Subtitles, Language detection

Post by Vick » Mon Feb 19, 2018 9:52 am

Thank You, that is enough, problem is solved by renaming the sub files ;)

edit
Just to say, the most Russian usage is KOI8-R
Ucrainian - KOI8-U
Bulgarian - windows-1251

Post Reply