alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.35k stars 1.04k forks source link

Unable to Recognize Characters Properly in JAVA Vosk { "text" : "�?�?��?�?�� �?�?���?���?�?" } #1571

Closed tegaatm closed 1 month ago

tegaatm commented 1 month ago

I've encountered an issue where characters are not being recognized properly in JAVA Vosk. Despite providing valid input, the output seems to be garbled or incorrect. This impacts the usability and reliability of the application. { "text" : "�?�?��?�?�� �?�?���?���?�?" } image

nshmyrev commented 1 month ago

You have to set the codepage or you can redirect output to a file.

https://superuser.com/questions/269818/change-default-code-page-of-windows-console-to-utf-8

nshmyrev commented 1 month ago

Same as https://github.com/alphacep/vosk-api/issues/1449 actually