Skip to main content

edit-tool-unicode-failure

Fix for Claude Code Edit tool failing to match strings containing Unicode characters (emojis, em-dashes, non-breaking spaces, curly quotes). Use when: (1) Edit tool returns "String to replace not found in file" but the string visually matches Read output, (2) file contains emoji characters like ๐Ÿš€ ๐Ÿ‘‹ ๐ŸŽฎ, (3) file has em-dashes (โ€”), non-breaking spaces (U+00A0 / c2 a0), or smart/curly quotes. Solution: use Write tool to rewrite the entire file instead of Edit for targeted replacements.

Jump to install

Source facts

Repository
hubeiqiao/skills
Last source activity
March 4, 2026 at 17:08
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.