amirchev / OBS-Lyrics

Manage and display lyrics to any text source in your OBS scene.
Apache License 2.0
27 stars 17 forks source link

It cannot show Chinese. It doesn't seem to support UTF-8 #9

Closed iesv closed 3 years ago

iesv commented 3 years ago

image

amirchev commented 3 years ago

Thank you for your post. Where is it not showing? I see Chinese characters there...

iesv commented 3 years ago

No, The title name which is a messy code instead of correct letter. It doesn't seem to support UTF-8.

in the other hand, It will flash on screen when launching the OBS. And, would you add such as the "delete prepared songs" button on panel in future? so that It can delete a certain song.

btw, Thank you for developing this such a good plug! I'm using it in Christian Church, too. May God bless you!

iesv commented 3 years ago

image

amirchev commented 3 years ago

Okay, I see that the prepared name is different than the displayed name in the directory. I noticed there is a problem with Russian characters too. I have to look into it closer, but I'm not sure that is a script problem, or more of an OBS problem. We'll see.

amirchev commented 3 years ago

If you see here, UTF-8 is only supported after Luajit 5.3, but OBS uses 5.2 I think. I'll see if there is a way I can include an outside UTF-8 library...

iesv commented 3 years ago

Thank you amirchev so much! I find this one. could it be helpful for you? https://github.com/starwing/luautf8

iesv commented 3 years ago

Can lua call DOS command to create a file name?

amirchev commented 3 years ago

Can lua call DOS command to create a file name?

I believe so

amirchev commented 3 years ago

Resolved by @DCStrato in #19