Skip to content

Korean (Hangul) characters display as broken/garbled in input field #3493

Closed

Description

@LeeSungGuk

Bug Description

When typing Korean (Hangul) characters in the OpenCode interface input field, the characters appear as broken/garbled text, making it impossible to verify typed content in real-time.

Steps to Reproduce

  1. Launch OpenCode
  2. Try typing Korean text in the input field (e.g., 안녕하세요)
  3. Observe that the characters appear broken/garbled

Expected Behavior

Korean characters should display correctly in the input field as they are being typed.

Actual Behavior

Korean characters appear as broken/garbled characters or empty boxes, preventing users from seeing what they are typing.

Environment

  • OS: macOS 26.0.1 (Build 25A362)
  • OpenCode Version: 0.15.18
  • Terminal: xterm-256color
  • Locale: ko_KR.UTF-8

Additional Context

  • The AI correctly recognizes and processes Korean input (backend works fine)
  • The issue is purely visual/UI rendering related
  • After sending the message, AI responds correctly in Korean
  • The problem only affects real-time input visibility, not functionality

Impact

This makes it extremely difficult for Korean users to:

  • Verify spelling while typing
  • Catch typos before sending
  • Use OpenCode effectively in Korean

Suggested Fix

Possible solutions:

  • Add CJK (Chinese, Japanese, Korean) font support to the input field
  • Ensure proper UTF-8 rendering in the UI component
  • Test with fonts that include Korean glyphs (e.g., Noto Sans CJK, D2Coding)

Activity

  1. github-actions commented on Oct 28, 2025

    @github-actions
    Contributor

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

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

  2. LeeSungGuk commented on Oct 28, 2025

    @LeeSungGuk
    Author
    Image

    한글로 테스트 -> 안녕하세요 지금 한글로 테스트 중입니다.

  3. rekram1-node commented on Oct 28, 2025

    @rekram1-node
    Collaborator

    We are rewriting the tui and a fix for this should be shipping soon

  4. JSCOP commented on Oct 28, 2025

    @JSCOP

    @rekram1-node I'm waiting too hope it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions