Skip to main content
Run any Skill in Manus
with one click

edit-tool-unicode-failure

Stars0
Forks0
UpdatedMarch 4, 2026 at 17:08

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.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly