Bug Report Can't display Chinese characters when loading from an updated file.

micone

New Member
Hi.

It's all fine when the first time click the "load from file" checkbox,every character display correctly. but while the file has changed, the obs reloads that file again, it can't display the Chinese characters, I think this bug also occurs while displaying other languages.

Hope you can fix this little bug.

Thanks.
 
Last edited:

Lain

Forum Admin
Lain
Forum Moderator
Developer
Firstly you need to use a font that supports chinese (a unicode or chinese-specific font), it's a limitation of the plugin (which we may make a fix for)

Secondly, make sure that the text file is encoded with UTF-8.
 

micone

New Member
yes I use a font that supports Chinese, and the file was encoded with utf-8.

I was using foobar now playing simple plugin for displaying what bgm I'm now playing, and as I said, I set the plugin to save utf-8 without BOM(actually it won't work with or without BOM)

when i'm in configure window, the first time i click "load from file" checkbox, it works fine, and I am using a font that supports Chinese.

Here what becomes not so cool: when the bgm changes, the file will be overwritten with the foobar plugin, and OBS MP detected that change, which is awesome; but OBS re-render the text wrongly, all Chinese character become to white space.As far as I know, if the font doesn't support that character, obs will render it as a hollow rectangle, but not white space.

I'm sorry for can't describe this problem more detailed, will try if I can upload some images to explain this more specifically.

Although OBS MP has some little issues, but OBS still rocks! You guys rocks too! :P
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I'll probably implement an alternative text source at some point identical to the one in OBS1 or something.
 
Top