Git: Chinese (UTF-8) filenames shown as octal escapes in Source Control after 3.3.27; diff unavailable

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Summary

After updating to Cursor 3.3.27, the Source Control view mis-renders non-ASCII (UTF-8) file names (e.g. Chinese .md files). Names appear as escaped octal sequences (e.g. \345\256\236\336\346\226\275...) instead of the real characters. Opening the diff shows “Diff content not available” / “This file changed, but a text diff could not be rendered.” for these files.

This started right after today’s update; behavior was OK before.

Actual

  • File names show as octal-escaped segments.
  • Diff pane: “Diff content not available” for those files.

Notes / hypothesis

  • Looks similar to Git path quoting / encoding issues (e.g. core.quotePath or wrong locale when Git output is parsed), possibly a regression in the SCM provider or bundled Git integration after this build.

Thank you.

Steps to Reproduce

Steps to reproduce

  1. Open a Git repository that contains new or modified files whose paths include UTF-8 / Chinese characters (e.g. under docs/tasks/...).
  2. Open Source Control.
  3. Observe file names in the changes list and open the diff for one of these files.

Expected Behavior

Expected

  • File names display as normal UTF-8 text.
  • Text diff loads for new/changed files.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Environment

  • Cursor: 3.3.27
  • VS Code base: 1.105.1
  • Commit: 80b138a7a0a948e1a798e9ed7867d76a1ba9a310
  • Date: 2026-05-08T02:26:22.498Z
  • Layout: glass
  • Build: Stable (Default track)
  • Electron: 39.8.1
  • Chromium: 142.0.7444.265
  • Node: 22.22.1
  • OS: Darwin arm64 24.6.0 (macOS)

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the detailed report with the screenshot and environment info. This looks like a classic Git path quoting case. When core.quotePath=true (default), Git escapes non-ASCII characters in ls-files and status output, and if a consumer parses that output as-is, you get exactly what you see in your screenshot.

Try this workaround:

git config --global core.quotePath false

After that, restart Cursor and check the Source Control panel in the same repo. If the names render correctly and the diff opens, that confirms the hypothesis, and we can look on the Cursor side at what changed around 3.3.27.

Let me know if it helped or not. If you can, also share the output of git --version on that machine.

Hi,

Thanks for the quick reply and the clear explanation.

I ran:

git config --global core.quotePath false
After restarting Cursor, the Source Control view shows the Chinese file names correctly and the diffs open normally for those files, so this matches your core.quotePath hypothesis.

For reference, on this machine:

git version 2.50.1 (Apple Git-155)

Appreciate the workaround; I’ll keep an eye out for a proper fix on the Cursor side if anything regressed in 3.3.27. Let me know if you need anything else from my setup.