Chinese Characters #7501

Open
opened 2026-02-16 18:07:22 -05:00 by yindo · 3 comments
Owner

Originally created by @zQueal on GitHub (Jan 25, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

I've been dealing with an interesting bug in a Zig project I'm working on. The agent is having a hell of a time debugging it. I've tried various ways to figure out the issue, to no avail. I recently peeked at the sub agent (which was running for a good 30-40 minutes) and found many Chinese characters in the sub agent which was implementing the changes and debugging.

They seem to have come out of nowhere and there's no obvious explanation for them. I'm using zai-coding-plan/glm-4.7 model.

Plugins

None

OpenCode version

1.1.35

Steps to reproduce

I couldn't even venture to guess how to reproduce this issue.

Screenshot and/or share link

Image

Operating System

Alpine Linux over SSH

Terminal

WezTerm

Originally created by @zQueal on GitHub (Jan 25, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description I've been dealing with an interesting bug in a Zig project I'm working on. The agent is having a hell of a time debugging it. I've tried various ways to figure out the issue, to no avail. I recently peeked at the sub agent (which was running for a good 30-40 minutes) and found many Chinese characters in the sub agent which was implementing the changes and debugging. They seem to have come out of nowhere and there's no obvious explanation for them. I'm using `zai-coding-plan/glm-4.7` model. ### Plugins None ### OpenCode version 1.1.35 ### Steps to reproduce I couldn't even venture to guess how to reproduce this issue. ### Screenshot and/or share link <img width="1368" height="602" alt="Image" src="https://github.com/user-attachments/assets/4428a741-71c2-447c-9481-ccdcb2dae5ad" /> ### Operating System Alpine Linux over SSH ### Terminal WezTerm
yindo added the opentuibug labels 2026-02-16 18:07:22 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2026):

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

  • #7891: OpenCode TUI Chinese Text Display Issue - Chinese characters not displaying properly in certain contexts
  • #8175: Chinese output occasionally renders duplicated characters and misaligned layout in Ghostty (macOS) - intermittent CJK rendering issues
  • #9204: opencode-antigravity-auth plugin: Claude repeatedly asks same questions + Chinese text display issues - character size inconsistency and left offset
  • #9336: 输出大量的9 - Output with unwanted characters interspersed in responses

These issues all report similar symptoms of unexpected character rendering/display issues in the TUI, particularly with non-ASCII characters. Your issue with Chinese characters appearing in sub-agent output may be related to the same underlying CJK text rendering problem.

Feel free to ignore if your specific case involves characters appearing in code/implementation rather than just display output.

@github-actions[bot] commented on GitHub (Jan 25, 2026): This issue might be a duplicate of existing issues. Please check: - #7891: OpenCode TUI Chinese Text Display Issue - Chinese characters not displaying properly in certain contexts - #8175: Chinese output occasionally renders duplicated characters and misaligned layout in Ghostty (macOS) - intermittent CJK rendering issues - #9204: opencode-antigravity-auth plugin: Claude repeatedly asks same questions + Chinese text display issues - character size inconsistency and left offset - #9336: 输出大量的9 - Output with unwanted characters interspersed in responses These issues all report similar symptoms of unexpected character rendering/display issues in the TUI, particularly with non-ASCII characters. Your issue with Chinese characters appearing in sub-agent output may be related to the same underlying CJK text rendering problem. Feel free to ignore if your specific case involves characters appearing in code/implementation rather than just display output.
Author
Owner

@neavo commented on GitHub (Jan 25, 2026):

It seems like this is just a normal thought process, just using Chinese. After all, this is a Chinese model, so there should be no problem, right?

@neavo commented on GitHub (Jan 25, 2026): It seems like this is just a normal thought process, just using Chinese. After all, this is a Chinese model, so there should be no problem, right?
Author
Owner

@BruceXSK commented on GitHub (Feb 1, 2026):

It seems like this is just a normal thought process, just using Chinese. After all, this is a Chinese model, so there should be no problem, right?

It seems the LLM also has a native language

@BruceXSK commented on GitHub (Feb 1, 2026): > It seems like this is just a normal thought process, just using Chinese. After all, this is a Chinese model, so there should be no problem, right? It seems the LLM also has a native language
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7501