[BUG] Unable to search files with Unicode characters when using @ to reference files in Claude Code

Resolved 💬 3 comments Opened Nov 3, 2025 by smartleos Closed Nov 6, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When using the "@" symbol to reference files in Claude Code, the search function does not properly handle Unicode characters (such as Chinese characters). This prevents users from searching and selecting files that contain Unicode characters in their filenames.

What Should Happen?

Expected Behavior:
The file search should support Unicode characters and return all files that match the Unicode search terms.
Actual Behavior:
Files with Unicode characters in their names cannot be found when searching with Unicode keywords.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code CLI
  2. Type "@" to trigger file reference/search
  3. Enter Unicode characters (e.g., Chinese characters) as search keywords
  4. Observe that no matching files are found, even when files with those Unicode characters exist

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.31

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

This affects users working with files that have non-ASCII characters in their filenames, particularly those working in non-English language environments.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗