◉CLAUDE LABJP
●CODE 2.1.319 — Claude Code now moves MCP tasks to the background automatically, and a denyInsteadOfPrompting setting denies calls that would wait on a prompt●FABLE 5.2 — Claude Fable 5.2 and its fast mode are on the Claude API (11/9). Mythos 5.2 is limited to verified organizations●SONNET 4.5 — Retires on the Claude API on 11/30, 20 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST — Opus 4.8 fast mode is deprecated and will be removed on 11/30. Migrate to Opus 5.5●NEW — I Put a Ten-Line Promise File at the To…●CODE 2.1.319 — Claude Code now moves MCP tasks to the background automatically, and a denyInsteadOfPrompting setting denies calls that would wait on a prompt●FABLE 5.2 — Claude Fable 5.2 and its fast mode are on the Claude API (11/9). Mythos 5.2 is limited to verified organizations●SONNET 4.5 — Retires on the Claude API on 11/30, 20 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST — Opus 4.8 fast mode is deprecated and will be removed on 11/30. Migrate to Opus 5.5●NEW — I Put a Ten-Line Promise File at the To…
Articles/Cowork
◈ Cowork/2026-10-15Intermediate

Visible in the Listing, Zero Hits by Name: Counting Japanese Filenames With Split Dakuten

In a folder I gave Cowork, Japanese filenames were missing from name searches. Counting about 19,000 entries turned up 17 names with decomposed dakuten. Here is how I counted and fixed it.

Cowork62FilenamesUnicodePython29Dropbox5

✦ Premium Article

I was looking for a file called ページ.csv in a folder I'd handed to Cowork. It was right there in the listing, identical to what I typed. Yet find with the same name returned zero results.

The short version: the names looked the same but were different sequences of characters underneath. Below are the numbers from my own folder, how I counted, and how I'd fix it.

What was different

Unicode can write "ペ" as one character (U+30DA, NFC), or as "ヘ" followed by a combining semi-voiced mark (U+309A, NFD). On screen they're indistinguishable.

Same visible name, two searches:

Name used in the searchfind -name hits
"ページ.csv" typed on the keyboard (NFC)0
The same name converted to NFD4

The lengths differ too: 7 characters in NFC, 9 in NFD. The two invisible extras are the dakuten and handakuten.

The audit

I counted the whole folder (excluding node_modules and .git) read-only:

ItemCount
Files and folders in total19,024
Names containing non-ASCII characters43
Of those, NFD (not equal to their NFC form)17
Distinct NFD names5

About 40% of the Japanese names were NFD. What surprised me is that 17 hits were only 5 distinct names, repeated across folders. One was a Dropbox "conflict copy" name.

I haven't worked out why they ended up decomposed. Japanese names saved on a Mac sometimes stay in decomposed form, but I haven't confirmed that all 17 share one cause.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦You can count how many files in your own folder look present but won't match a name search, using a read-only script
✦You can add one line of normalization to any Japanese-filename lookup and prevent silent misses
✦You can build a rename pass with a dry run and a collision check, so a bulk fix never overwrites a file
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

◈ Cowork2026-10-25
The Build Stopped on 'Duplicate Resources' — 80+ Conflicted Copies Came From Build Output in a Synced Folder
An Android project inside Dropbox stopped building with a duplicate-resource error. This note covers a scan script that counts the conflicted copies, a pre-build guard that cleans only generated files, and how to exclude folders from sync.
◈ Cowork2026-10-29
When Only the Back Half of a Subfolder CLAUDE.md Is Ignored, Count Characters, Not Bytes
Since Claude Code 2.1.309, a subfolder CLAUDE.md and path-scoped rules have a character limit, and anything past it is not handed over. This note covers a counting trap I hit on my own files, a scan script, a pre-commit guard, and how to split a file into rules.
◈ Cowork2026-10-26
I Linted 36 Unattended-Run Prompts: All 7 'Use This Tool' Hits Turned Out to Be Bans
One permission dialog is enough to stall an unattended task, because nobody is there to click it. This note covers a lint script that counts prompt lines that tell the task to use such a tool, why a banned-word grep gave seven false alarms, and how matching on word stems fixed it.