Claude Sonnet 5 Bug Causes 100% Hangul Corruption in Tool Calls
whchoi98 · ghdev · 2026-08-01
A developer has root-caused a frequently reported Korean (Hangul) corruption issue in Claude Sonnet 5. Through a controlled A/B experiment, they discovered that the model sometimes writes Korean tool-parameter strings as \uXXXX unicode escape sequences instead of literal UTF-8, while simultaneously mis-spelling the hex codepoints.
This results in valid-but-wrong Hangul syllables, producing nonsensical text. The experiment revealed a 100% corruption rate (45/45 runs) whenever the model engaged in escape-writing, whereas literal UTF-8 runs were mostly clean. The developer noted that a simple output-format instruction in the system prompt can fully suppress the issue.
More from coding & agent
- Subsola: a free open-source 3D map of underground utilities in 10 US cities, built with Claude Code — anselm · 2026-12-02
- "CI/CD is dead": Developer lays out the AI Software Factory replacing traditional pipelines — Pavan_Belagatti · 2026-12-02
- Codex lead confirms upgraded harness not shipped yet; current one 'will seem primitive in 2-3 months' — VraserX · 2026-12-02
- banger: open-source agent skill writes hit-style Suno songs hook-first — tetsuoai · 2026-12-02
- Agent skills cut AI music video generation to under 2 hours, Suno skill released — tetsuoai · 2026-12-02
- Redditor secretly undid Claude Code's work every 10s; agent honestly reported a "ghost" — 32minutos · 2026-12-02