Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Malformed UTF-16LE files with an odd byte count are no longer read as text

Files that start with a UTF-16LE byte-order mark but have an odd number of bytes are now treated as non-text and refused with a clear reason

Group of 2 You'll notice Improvements
JSON All of v2.1.333
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

UTF-16LE is a way of storing text in which every character takes an even number of bytes. Files in this format usually start with two marker bytes, FF FE, called a byte-order mark. A file that starts with those bytes but has an odd total number of bytes cannot be valid UTF-16LE.

  • Claude Code now marks such a file as not text, recorded as utf16le_odd_length, instead of trying to decode it.
  • When it refuses such a file, it now gives the reason that the file "starts with the UTF-16LE byte-order mark (FF FE) but has an odd number of bytes".

Why

Files that only look like UTF-16 are less likely to be read as garbled text, and an edit to one of them now fails with a reason you can understand.

See this entry in the whole of v2.1.333 →

Feedback