macOS: Arabic and Hebrew paths have swapped characters, causing files not to be found
Bug Description
On macOS, Claude has an issue with paths containing characters in certain languages. Specifically, it seems to swap between characters in Hebrew and Arabic. This forces it to use other, more expensive methods of finding files.
Example:
Update(../../../../../אישی/יצירות שלי/אפליקציות ותוכנות שלי/file.swift)
⎿ Error: File does not exist.
Here, the folder named אישי is being searched for with one of the letters swapped into Arabic.
In every case where this happens, the Arabic letter is equivalent in sound to the Hebrew one. Since there is no specific transformation that would do this, my guess is that somewhere, there's a line of code that is inadvertantly transliterating between them.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.56
- Feedback ID:
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:883:11)\n at execSync (node:child_process:955:15)\n at A7 (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:797:5848)\n at file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:709:48013\n at Q (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:609:14408)\n at fY (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:709:45724)\n at QK (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:709:44590)\n at SB (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:709:50639)","timestamp":"2025-07-20T02:33:13.268Z"},{"error":"Error: ENOENT: no such file or directory, open '/proc/version'\n at Module.readFileSync (node:fs:441:20)\n at Object.readFileSync (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:615:7077)\n at file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:615:8638\n at Q (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:609:14408)\n at kT4 (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:709:62815)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-20T02:33:13.615Z"},{"error":"AxiosError: Request failed with status code 401\n at Qw (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:611:1070)\n at IncomingMessage.CA (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:612:9950)\n at IncomingMessage.emit (node:events:530:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at Et.request (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:614:2081)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async vd6 (file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1471:467)\n at async Promise.all (index 0)\n at async file:///Users/aviahmorag/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1457:6171","timestamp":"2025-07-20T02:42:30.130Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗