[bug] opencode produces gabled text when input containing non-ascii characters #1714

Closed
opened 2026-02-16 17:32:19 -05:00 by yindo · 3 comments
Owner

Originally created by @Peng-YM on GitHub (Sep 14, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Image

When input contains Chinese characters, opencode often converts them into garbled text.

Originally created by @Peng-YM on GitHub (Sep 14, 2025). Originally assigned to: @adamdotdevin on GitHub. <img width="924" height="143" alt="Image" src="https://github.com/user-attachments/assets/820e2814-43c6-48a3-a701-801eceeefc11" /> When input contains Chinese characters, opencode often converts them into garbled text.
yindo added the bug label 2026-02-16 17:32:19 -05:00
yindo closed this issue 2026-02-16 17:32:19 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 14, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2256: TUI populated with gibberish upon copying - reports similar text display corruption issues in the terminal UI
  • #1146: The terminal UI display is abnormal - shows display problems with special characters and terminal rendering
  • #392: Display issues of Double Underscores in TUI - demonstrates character rendering problems where text appears garbled in the interface

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 14, 2025): This issue might be a duplicate of existing issues. Please check: - #2256: TUI populated with gibberish upon copying - reports similar text display corruption issues in the terminal UI - #1146: The terminal UI display is abnormal - shows display problems with special characters and terminal rendering - #392: Display issues of Double Underscores in TUI - demonstrates character rendering problems where text appears garbled in the interface Feel free to ignore if none of these address your specific case.
Author
Owner

@Nindaleth commented on GitHub (Dec 25, 2025):

Please retry on 1.0.x versions, this is my result on LC_ALL=zh_CN.UTF-8 opencode:

Image
@Nindaleth commented on GitHub (Dec 25, 2025): Please retry on 1.0.x versions, this is my result on `LC_ALL=zh_CN.UTF-8 opencode`: <img width="826" height="262" alt="Image" src="https://github.com/user-attachments/assets/b7fa5fd6-6db5-48ba-9e29-00446f75b593" />
Author
Owner

@rekram1-node commented on GitHub (Dec 25, 2025):

im gonna close out oldencode issues

@rekram1-node commented on GitHub (Dec 25, 2025): im gonna close out oldencode issues
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1714