Skip to content
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

[bug]: Non-Latin characters are rendered as "???" #94

Open
ramen opened this issue Oct 30, 2024 · 1 comment
Open

[bug]: Non-Latin characters are rendered as "???" #94

ramen opened this issue Oct 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ramen
Copy link
Contributor

ramen commented Oct 30, 2024

Operating System

Windows

Other Operating System

No response

Architecture

amd64

ReaSpeech Image

reaspeech (CPU)

What were you trying to do?

This occurs when processing audio in non-English languages that cannot be represented using the Latin character set, such as Russian, Japanese, etc.

What actually happened?

Characters outside of the Latin character set are displayed as "???" due to a limitation in ReaImGui: cfillion/reaimgui#5

When writing to the Reaper project (create markers, create regions, etc.) the original characters are preserved. This issue mainly affects the table view within the ReaSpeech UI.

This is a non-trivial problem that may require changes to dear-imgui: cfillion/reaimgui#5 (comment)

Steps to Reproduce

  1. Load a Reaper project with media items containing non-English speech audio
  2. Process the media items in ReaSpeech
  3. Browse the resulting transcript table
@ramen ramen added the bug Something isn't working label Oct 30, 2024
@ramen
Copy link
Contributor Author

ramen commented Oct 30, 2024

A few workarounds we've considered:

  • Rendering the text using Reaper's "gfx" library, and capturing the output as an image (so far, we haven't gotten this to work)
  • Rendering the images from Python and providing an API endpoint to retrieve images of transcript text
  • Using a different UI toolkit besides ReaImGui - none of the other options have a comparable table widget, though a table view may not be an absolute requirement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant