Page 1 of 1

Subtitles, Language detection

Posted: Mon Feb 19, 2018 7:14 am
by Vick
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!

Re: Subtitles, Language detection

Posted: Mon Feb 19, 2018 9:01 am
by valib
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.

Re: Subtitles, Language detection

Posted: Mon Feb 19, 2018 9:52 am
by Vick
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