⟐ Claude Code/2026-10-15Intermediate
The Hook That Was Meant to Guard My Japanese Folder Never Blocked Anything — Python Was Reading stdin as cp932
A PreToolUse hook guarding folders like 経理 or 議事録 silently lets edits through when Python's stdin defaults to cp932. How I reproduced it, the three-line fix, and one command to check your own hooks.
⟐ Claude Code/2026-05-26Intermediate
Fixing Garbled Japanese Files in Claude Code — Identifying Shift-JIS vs UTF-8 and Converting Safely
When the Read tool spits out characters like 縺ゅ>縺ゅ> instead of Japanese, the file is almost always Shift-JIS or EUC-JP being misread as UTF-8. Here is a practical workflow to detect the real encoding and convert it for Claude Code, drawn from running a Japanese wallpaper app since 2014.
◉ Claude AI/2026-04-08Intermediate
Why Does Claude Stop Mid-Response? Fixing Truncation and Garbled Text
If Claude keeps cutting off mid-response or generating garbled text, this guide explains the most common causes — token limits, context windows, network timeouts, and encoding issues — and how to fix each one quickly.