[BUG] Glob tool fails to match multibyte (Korean/CJK) characters with wildcards

Resolved 💬 1 comment Opened May 2, 2026 by Merry-Jang Closed Jun 2, 2026

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?

The Glob tool built into Claude Code fails to find files/directories when the wildcard * needs to match multibyte (Korean/CJK) UTF-8 characters in the path.

Example: a directory named 61_공인중개사-시험준비 exists under 10_Projects/.

  • Glob("10_Projects/61*")No files found (wrong)
  • Glob("10_Projects/61_공인중개사-시험준비/**") → works correctly
  • Python glob.glob("10_Projects/61*") → works correctly

What Should Happen?

The * wildcard should match any characters including multibyte UTF-8 sequences, consistent with standard glob behavior and Python's glob.glob.

Error Messages/Logs

Steps to Reproduce

  1. Create a directory with Korean characters in the name, e.g. mkdir ~/test/61_공인중개사-시험준비
  2. In Claude Code, use the Glob tool: Glob("~/test/61*")
  3. Result: No files found

Verification that the directory exists:

  • ls ~/test/ | grep "^61" → shows 61_공인중개사-시험준비
  • Python glob.glob(os.path.expanduser("~/test/61*")) → returns the directory correctly

Workaround: Provide the full path including the Korean characters, then use ** for subdirectory content.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.63 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗