Help.. how OSD not working with Japanese fonts

Questions and comments specific to a particular plugin should go here.
Post Reply
Experienced User
Posts: 210
Joined: Fri Sep 11, 2009 6:44 am

Help.. how OSD not working with Japanese fonts

Post by molitar » Sun Jun 21, 2020 6:21 am

It took me a bit of time to figure out why Show OSD will not work with some videos. It appears it does not like foreign font types and throws up this error.
New OSD Style
imports and setup 0.0 milliseconds
GetTopLevelWindowList 0.0 milliseconds
_GetWindowThreadProcessId 82.9999446869 milliseconds
is fullscreen 0.0 milliseconds
GetWindowText 0.0 milliseconds
windows text evaluation 0.0 milliseconds
eg.plugins.MediaPlayerClassic.GetTimes 0.0 milliseconds
time evaluation 0.0 milliseconds
building the bar 0.0 milliseconds
Traceback (most recent call last):
Python script "9", line 462, in <module>
UnicodeEncodeError: 'ascii' codec can't encode characters in position 51-60: ordinal not in range(128)
管理人さんのお this Japanese language is there an easy fix for the Japanese font not working with Show OSD?

Experienced User
Posts: 646
Joined: Sat Feb 13, 2016 8:39 pm

Re: Help.. how OSD not working with Japanese fonts

Post by jachin99 » Sun Jun 21, 2020 10:01 pm

This is a wild guess but I would make sure the Japanese language pack is installed on your PC. You might also need a Japanese don't pack.

User avatar
Site Admin
Posts: 5440
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Help.. how OSD not working with Japanese fonts

Post by kgschlosser » Mon Jun 22, 2020 6:26 am

yes it is an easy fix. but I am going to need to know how your are trying to show the OSD. are your using an action or calling it from a script?

if you are using an action I need to know what you have entered in the text box.
if it is from a script i am going to need to see the line in the script that makes the call to show the OSD
If you like the work I have been doing then feel free to Image

Post Reply