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.