Skip to content

OpenCode TUI Chinese Text Display Issue #7891

@darkmanno6

Description

@darkmanno6

Description

After upgrading OpenCode TUI to version 1.1.13, Chinese characters cannot be displayed properly(). However, they display correctly in version 1.1.8.
It will be displayed if the mouse selects it; otherwise, it will not be displayed, as shown in the figure.

Image

Environment

  • Operating System: macOS
  • Terminal: iTerm2
  • OpenCode Version:
    • 1.1.8: ✅ Chinese characters display normally
    • 1.1.13: ❌ Chinese characters cannot be displayed
  • Installation Method: bun add -g opencode-ai
  • Terminal Font: Font that supports Chinese (Chinese text displays normally in other applications)

Additional Information

  • Terminal encoding is set to UTF-8
  • iTerm2 font supports Chinese (Chinese text displays normally in other system applications)
  • Pure English messages display normally in both versions

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions