Skip to content

Bug report: Source Control fails with Chinese file paths #154

@xavierliang

Description

@xavierliang

Bug report: Source Control fails with Chinese file paths
Title: Source Control actions fail for files with Chinese paths
Environment: macOS (Darwin 24.6.0), Bash; repo:
claudecodeui
Description: Files whose paths contain Chinese characters cannot be handled correctly in the Source Control panel.
Steps to Reproduce:

  1. Create or modify a file with a Chinese path, e.g.,
    docs/指南/快速开始.md
  2. Open the Source Control panel.
  3. Try to commit.
    Expected: Operations work the same as with ASCII-only paths.
    Actual: Actions fail or no-op; file cannot be opened or run. Errors may include “No such file or directory” or garbled paths.
    Notes/Possible cause: Unicode path handling/encoding issue (UTF‑8), missing shell quoting, or macOS path normalization (NFD vs NFC).
    Workaround: Rename paths to ASCII-only characters.

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