You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
File ToolsArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
The messages Claude Code gives when a file is not in plain UTF-8 text have been reworked. UTF-8 is the most common way of storing text. The messages now cover:
UTF-16LE files with an odd length, where saving would drop the last byte, so nothing is written
UTF-16BE files
other files that are not UTF-8
files containing NUL characters
The Edit and Write tools refuse these files. They tell Claude to use a shell command instead or ask you, and never to convert a file's encoding on its own.
Why
This stops files in other encodings from being quietly damaged when Claude edits them.