命令行模式下中文显示突然全部变成乱码 #7050

Closed
opened 2026-02-16 18:06:01 -05:00 by yindo · 2 comments
Owner

Originally created by @shixy163 on GitHub (Jan 21, 2026).

Originally assigned to: @kommander on GitHub.

Description

命令行模式下中文显示突然全部变成乱码

Image

Plugins

No response

OpenCode version

1.1.27

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

power shell

Originally created by @shixy163 on GitHub (Jan 21, 2026). Originally assigned to: @kommander on GitHub. ### Description 命令行模式下中文显示突然全部变成乱码 <img width="1335" height="374" alt="Image" src="https://github.com/user-attachments/assets/22d20166-bf51-487e-b46f-21f2dce88168" /> ### Plugins _No response_ ### OpenCode version 1.1.27 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="1335" height="374" alt="Image" src="https://github.com/user-attachments/assets/fc7bb934-1d56-454d-9bbf-a0203ffebb59" /> ### Operating System Windows 11 ### Terminal power shell
yindo added the windowsopentuibug labels 2026-02-16 18:06:01 -05:00
yindo closed this issue 2026-02-16 18:06:01 -05:00
Author
Owner

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

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

  • #9790: opencode cli鼠标拖动终端窗口,就会触发退出+乱码 (Chinese character garbling triggered by mouse dragging on Windows PowerShell 7.5.4)
  • #9787: 有时候工作中会突然报已杀死,然后一堆乱码 (Occasional process killed with garbled output)
  • #8410: TUI icons show as garbage characters on Windows 10 (Windows 10 PowerShell cmd similar character display issue)
  • #7891: OpenCode TUI Chinese Text Display Issue (Chinese character rendering problem in TUI version 1.1.13)

All these issues involve Chinese character rendering problems or garbled text in the OpenCode CLI/TUI on Windows terminals with PowerShell. Feel free to ignore if your specific case differs from these reports.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #9790: opencode cli鼠标拖动终端窗口,就会触发退出+乱码 (Chinese character garbling triggered by mouse dragging on Windows PowerShell 7.5.4) - #9787: 有时候工作中会突然报已杀死,然后一堆乱码 (Occasional process killed with garbled output) - #8410: TUI icons show as garbage characters on Windows 10 (Windows 10 PowerShell cmd similar character display issue) - #7891: OpenCode TUI Chinese Text Display Issue (Chinese character rendering problem in TUI version 1.1.13) All these issues involve Chinese character rendering problems or garbled text in the OpenCode CLI/TUI on Windows terminals with PowerShell. Feel free to ignore if your specific case differs from these reports.
Author
Owner

@zhicaizhao850-oss commented on GitHub (Feb 1, 2026):

我也是相同问题

@zhicaizhao850-oss commented on GitHub (Feb 1, 2026): 我也是相同问题
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7050