occ-ai / obs-localvocal

OBS plugin for local speech recognition and captioning using AI
https://obsproject.com/forum/resources/localvocal-live-stream-ai-assistant.1769/
GNU General Public License v2.0
359 stars 28 forks source link

Possible UTF-8 problems #41

Closed ASchneiderBR closed 9 months ago

ASchneiderBR commented 9 months ago

Hello, first of all, thanks for creating this great tool, really appreciate it.

I just installed the latest version and noticed that there are still problems with foreign characters rendering:

image

Characters like Ç, É, Ã and so on.

I'm trying to use it with Portuguese language.

Thank you.

royshil commented 9 months ago

This is interesting. I'll try to recreate the problem in order to fix it

klasadoroty commented 9 months ago

I confirm the same with the Polish language. Can I find somewhere information /step by step/ - how to download and implement the library for Polish language? Of course, it also applies to other languages. Can anyone help? Thanks

royshil commented 9 months ago

i'm investigating now

royshil commented 9 months ago

@ASchneiderBR @klasadoroty possible fix in #42 can you test the binaries when they come out?

ASchneiderBR commented 9 months ago

Hello @royshil, it seems it has been fixed:

image

Thank you very much!

royshil commented 9 months ago

boom! 💥 i like it i will merge and a release will go out soon thanks for testing 🙏

royshil commented 9 months ago

implemented in #42

klasadoroty commented 9 months ago

ok, but.. Polish language - no change... characters do not display.... zacząć - zacz Zrzut ekranu 2023-10-17 o 21 59 14

royshil commented 9 months ago

@klasadoroty Are you using the builds from the PR or the release version? The fix is in the PR builds

I was able to see Polish letters in my testing I made a YT Live where I tested it

https://www.youtube.com/live/x7r5zIEu6MA?si=zqolk8d987FOy-OQ

Look towards the end

klasadoroty commented 9 months ago

in text area .. it is ok. but 'stream captions' .. not

royshil commented 9 months ago

@klasadoroty The captions are distorted in the stream? Ok I think I know where the problem is I can fix it today Look out for another PR

royshil commented 9 months ago

@klasadoroty i'm unable to find a glaring bug can you share a screenshot of where the problem manifests for you? 🙏

klasadoroty commented 9 months ago

up - open captions down - closed captions Zrzut ekranu 2023-10-19 o 17 59 52 many characters/letters missing mostly other characters , like: ś ć ą ę etc.

klasadoroty commented 9 months ago

english: up - open captions down - closed captions Zrzut ekranu 2023-10-19 o 18 23 53

klasadoroty commented 9 months ago

one explanation: open captions - we do it at Google it's not your job :) /external/