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.

Original post →

More from coding & agent

coding & agent channel →