Skip to content

[Bug]: Chinese path encoding issue on Windows #5113

@yufengnigel

Description

@yufengnigel

When using the exec tool on Windows, Chinese file paths become
garbled when passed to PowerShell/CMD.

Environment:

  • Windows 10/11 with Chinese locale
  • Git Bash/MSYS environment
  • OpenClaw 2026.1.29

Example:
Path: D:\Projects\公众号\articles
Becomes: D:\Projects???\articles

Workaround: Use English path or symlink

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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