Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.267 ·

File-encoding problem reporting for reads (UTF-16LE/UTF-8 detection + replacement-char and undecodable diagnostics)

File reads now detect encoding problems and report exactly where a broken or undecodable character occurs

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

When Claude Code reads a file, new internal logic detects the file's text encoding (distinguishing UTF-16LE from UTF-8 by checking for a byte-order mark), then scans for the first replacement character (the symbol that appears when a byte sequence can't be properly decoded as text) or the first byte that can't be decoded at all. If either is found, the read now returns a structured result identifying the problem kind, the encoding, and the exact line and column where it occurs, instead of just returning garbled text.

Why

This gives clearer diagnostics when a file has encoding issues, pinpointing exactly where the problem is rather than leaving Claude (or the user) to guess why a file's contents look corrupted.

See this entry in the whole of v2.1.267 →

Feedback