Fix mojibake in localized tray resources#614
Conversation
Repair UTF-8 strings that were previously decoded through legacy code pages in localized .resw files. Add localization validation coverage for Windows-1252 and CP437 mojibake so future corruptions fail tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs real behavior proof before merge. Reviewed May 31, 2026, 2:59 PM ET / 18:59 UTC. Summary Reproducibility: yes. Current main contains mojibake in supported zh-CN, zh-TW, and fr-FR resource files, and the linked issue includes a screenshot/report matching that source state. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge a narrow localization resource repair with regression tests once representative affected locale output is shown readable in a real or built-resource verification path. Do we have a high-confidence way to reproduce the issue? Yes. Current main contains mojibake in supported zh-CN, zh-TW, and fr-FR resource files, and the linked issue includes a screenshot/report matching that source state. Is this the best way to solve the issue? Yes. Repairing the corrupted .resw values and adding a mojibake regression detector is the narrow maintainable fix; the missing piece is after-fix proof, not a different implementation direction. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against b9313e5c12ee. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Chinese text rendering correctly after the fix:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|


Summary
Fixes #583
Validation
./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restoredotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore