[GH-ISSUE #514] windows opencode #903

Open
opened 2026-03-14 08:59:39 +03:00 by kerem · 4 comments
Owner

Originally created by @heheshang on GitHub (Jan 12, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/514

Image Image
Originally created by @heheshang on GitHub (Jan 12, 2026). Original GitHub issue: https://github.com/anomalyco/opentui/issues/514 <img width="1289" height="648" alt="Image" src="https://github.com/user-attachments/assets/553a7316-b9a6-4a16-8270-1b8237dbbae9" /> <img width="1267" height="553" alt="Image" src="https://github.com/user-attachments/assets/90a5718e-7419-4c47-8946-8ee9a48a7003" />
Author
Owner

@heheshang commented on GitHub (Jan 12, 2026):

The root cause of the garbled text issue is that the native module (opentui.dll) from @opentui/core doesn't properly handle console encoding when outputting UTF-8 characters on Windows. This isn't something that can be fully resolved at the opencode application layer — it needs to be fixed at the opentui library level.

<!-- gh-comment-id:3737105320 --> @heheshang commented on GitHub (Jan 12, 2026): The root cause of the garbled text issue is that the native module (opentui.dll) from @opentui/core doesn't properly handle console encoding when outputting UTF-8 characters on Windows. This isn't something that can be fully resolved at the opencode application layer — it needs to be fixed at the opentui library level.
Author
Owner

@kommander commented on GitHub (Jan 12, 2026):

What terminal is this? Have you tried a different terminal?

<!-- gh-comment-id:3738491174 --> @kommander commented on GitHub (Jan 12, 2026): What terminal is this? Have you tried a different terminal?
Author
Owner

@heheshang commented on GitHub (Jan 16, 2026):

yes,I use the powershell & git bash just same.

Image
<!-- gh-comment-id:3757880341 --> @heheshang commented on GitHub (Jan 16, 2026): yes,I use the powershell & git bash just same. <img width="2572" height="1262" alt="Image" src="https://github.com/user-attachments/assets/f6454e47-d589-4488-8fbd-f612a9101551" />
Author
Owner

@kommander commented on GitHub (Jan 16, 2026):

Do you have a Unicode font installed that is being used actually? It seems like the font does not render Unicode chars.

<!-- gh-comment-id:3760461384 --> @kommander commented on GitHub (Jan 16, 2026): Do you have a Unicode font installed that is being used actually? It seems like the font does not render Unicode chars.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#903
No description provided.