-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid utf-8 #115
Comments
This is an upstream issue, not something we can control. I run into this myself with my own services, and I just log it and ignore the output. Doing some digging I found the following: |
@tazz4843 |
I checked |
We don't do anything with the string, this would be a bug in Rust's std string library, which there's essentially no chance of. As such this means it must be whisper.cpp returning an invalid UTF-8 string. We could return the raw bytes on error, but those are somewhat useless without being able to parse it unless you want to parse only up to the index where it fails (which would be a valid use case and if you want this added I can do so). |
UTF-8 is designed specifically to be able to recover from invalid strings, right?
you could still parse out of there |
There is |
I still experience this issue, I'm not sure wether it's in my control or |
Remind me in a few days and I can add a function to infallibly convert. |
Hey, just a reminder |
Should be solved in f4ea0d9 |
Thanks, I wasn't able to use it but it helped me understand where is the problem so I added |
The song in hebrew:
muminim hebrew.zip
The text was updated successfully, but these errors were encountered: