Skip to content

Bug: Chinese Simplified text shows garbled characters (mojibake) in UI — v0.6.0-alpha.5 #583

@shqpyy

Description

@shqpyy

Bug: Chinese text (Simplified) shows garbled characters in UI

OpenClaw Companion v0.6.0-alpha.5 (Installed from setup exe)

Description

Chinese Simplified (zh-CN) text in the Companion app UI displays garbled characters in some UI areas. English text displays perfectly. Some Chinese characters render correctly (e.g. “搜索”) while others appear as mojibake.

The issue occurs with both the portable (zip) version and the installed (exe setup) version.

Screenshot available upon request.

What I've tried

Attempt Result
chcp 65001 then launch app ❌ Still garbled
Hide zh-CN resource directory, forcing en-US fallback ❌ Still garbled
Set HIGHDPIAWARE compatibility flag ❌ Still garbled
System zh-CN locale, ACP=936 (GBK) ✅ Correct
All required Chinese fonts present (Microsoft YaHei, SimSun, etc.) ✅ Installed
WebView2 Runtime v148.0.3967.83 ✅ Installed

System info

  • OS: Windows 10 Home China (build 26200, Insider Dev Channel)
  • System locale: zh-CN (Chinese Simplified, China)
  • ANSI Code Page: 936 (GBK)
  • Display language: zh-CN
  • WebView2 Runtime: 148.0.3967.83
  • CPU: x64

Observed pattern

  • ✅ English text in all UI areas — OK
  • ✅ Some Chinese text — OK (e.g. “搜索”)
  • ❌ Some Chinese text — garbled mojibake characters (consistent across restarts)

Notes

  • Both the zip (portable) and exe (installed) builds exhibit the same issue
  • The .pri resource file contains correct UTF-8 encoded Chinese strings (verified via binary analysis)
  • Windows build 26200 is a pre-release Insider build, which may be a factor
  • No existing issues were found in the repo about Chinese text rendering

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions