openclaw - 💡(How to fix) Fix Dashboard UI renders Chinese agent names as mojibake (UTF-8 displayed as Latin-1)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

Root Cause Hypothesis

RAW_BUFFERClick to expand / collapse

Bug Description

The Dashboard web UI (http://localhost:18789) renders agent names containing Chinese characters as mojibake (e.g., â™...å... instead of proper Chinese text). Emoji characters are also garbled.

Steps to Reproduce

  1. Configure agents with Chinese names/identities in IDENTITY.md (e.g., 麦墨, 麦时, 小麦)
  2. Open the Dashboard at http://localhost:18789
  3. View the agent selector dropdown or any area displaying agent names
  4. Chinese characters appear as garbled Latin-1 text

Expected Behavior

Chinese characters and emoji should render correctly in the Dashboard UI.

Actual Behavior

UTF-8 encoded Chinese characters are displayed as mojibake, suggesting the browser is interpreting the text as Latin-1 instead of UTF-8.

Environment

  • OpenClaw version: 2026.5.19
  • OS: macOS 15.2 (arm64)
  • Browser: Chrome
  • Agent names affected: All agents with Chinese characters in their IDENTITY.md name field

Root Cause Hypothesis

The HTML declares <meta charset="UTF-8" /> in dist/control-ui/index.html, but HTTP API responses serving agent name data may be missing Content-Type: application/json; charset=utf-8 header, causing the browser to fall back to Latin-1 encoding.

Screenshot

See attached image — dropdown shows entries like â™... (image-generator), â™... (content-creator), etc. where the emoji + Chinese names should appear.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING