Follow Discord
Sweep 09 Oct 2026 · 17:27Z Build v2.1.296 517 read Stable v2.1.287 Latest v2.1.296 Next v2.1.296 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

The preview for sed edits now handles files that are not UTF-8

When Claude asks to edit a non-UTF-8 file with sed, the permission prompt now says it cannot be previewed instead of showing a garbled diff

You'll notice Improvements
JSON All of v2.1.296
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.296,
ImprovementsSection of the release
What

When Claude wants to edit a file in place with the sed command, Claude Code shows you a preview of the change before you approve it. If the file is not valid UTF-8 (the standard text encoding), the preview now says the file "is not valid UTF-8, so it cannot be previewed" instead of showing a diff. Before, the file was read without this check, and the only no-preview message was for files that were too large.

Why

For binary files or files in older encodings such as Latin-1, you no longer see a garbled preview of a sed -i edit that does not show what the change really does.

See this entry in the whole of v2.1.296 →

Feedback