Jump to content

Incorrect characters in subtitles


tmysik
 Share

Recommended Posts

tmysik

Noticed that in Android app (Emby plugin for Kodi works OK).

Some characters of the subtitles are incorrect, see the attached images.

Expected:

expected.png.e34211658dc0a902bf7a16b9736e93f2.png

Actual:

emby.thumb.png.2895bcce3a0027176b7207c957187254.png

 

Subtitles file (UTF-8, Linux line endings, no language in the file name):

Top.Gear.S30E01.720p.HDTV.2CH.x265.HEVC-PSA.srt

Server logs:

embyserver.txt

hardware_detection-63762911635.txt

 

Please, let me know if anything more is needed. Thank you.

 

  • Agree 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Just wanted to report same problem. It seems there is problem with sub font in android app which doesnt correctly display č, ž, š(czech letters with hook). But othres "hooked" letters ě, ň, ď, ť, ř are correct.

 

Screenshot_20210924-162959_Emby.jpg

  • Agree 1
Link to comment
Share on other sites

Hi, i do have the exact same issue with apple 4k tv and apple iphone 11 both with ios 15. Should i open a new topic under apple tv or ios? Or will this be solved globally for each device? Screenshot from my iphone emby with Czech subtitles…probably Slovak language (subtitles) will have same issue. Thanks

50AC3F37-7D9B-4284-AE09-DA20BA1AA0F3.jpeg

Link to comment
Share on other sites

  • 5 weeks later...
  • 5 weeks later...
  • 4 weeks later...
  • 3 weeks later...
VTucek

Just got hit by this bug when watching in Firefox. I think the issue is either the font or the renderer of the font. A font can contain accented characters (say í or ý) and everything works fine. But when the renderer encounters a character that is not contained in the font,  such as ž, then it can use "v" and "z" to create the desired symbol. This clearly does not work here. To make matters even more complicated, in unicode you can represent ž either as one special character or as character "z" followed by accent "v".

To debug this I suggest to go trough the following steps:

  1. Try using font that has all unicode characters of all European languages.
  2. Try upgrading the library that is in charge of displaying fonts.
  3. Convert  subtitles into unicode files with one unicode character per displayed character.
Edited by VTucek
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...