◉CLAUDE LABJP
●CC 2.1.332 — 2.1.332 (11/25) is still current. Skills from MCP servers appear as server:skill (beta)●OPUS 4.5 — Opus 4.5 is now scheduled to retire from the Claude API on 2027/1/22. Move to claude-opus-5-5●SONNET 4.5 — Sonnet 4.5 retires from the Claude API tomorrow, 11/30. Last day to check for hard-coded IDs●DISK — Users on Windows report Cowork's session disk filling up with no way to clean it●NEW — New: Asking Cowork for a meeting draft? Hand over old minutes after the outline is set●JETBRAINS — Our guide to using Claude with JetBrains IDEs is still among the most-read pages●CC 2.1.332 — 2.1.332 (11/25) is still current. Skills from MCP servers appear as server:skill (beta)●OPUS 4.5 — Opus 4.5 is now scheduled to retire from the Claude API on 2027/1/22. Move to claude-opus-5-5●SONNET 4.5 — Sonnet 4.5 retires from the Claude API tomorrow, 11/30. Last day to check for hard-coded IDs●DISK — Users on Windows report Cowork's session disk filling up with no way to clean it●NEW — New: Asking Cowork for a meeting draft? Hand over old minutes after the outline is set●JETBRAINS — Our guide to using Claude with JetBrains IDEs is still among the most-read pages
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.

Cowork71FilenamesUnicodePython32Dropbox5

✦ 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-11-16
When Cowork Feels Worse Lately, Run the Same Request Three Times in Fresh Chats and Count
A small routine for turning the feeling that Cowork has gotten worse into a record: five requests, three fresh runs each, pass conditions written in advance, and a short script that compares weekly pass rates so you can tell a long conversation from a real change.
◈ 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.