{"version":"2.1.329","anchor":"ide-diff-keeps-a-bom","canonical_anchor":"ide-diff-keeps-a-bom","heading":"Accepting a diff in your IDE keeps the file's byte order mark","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/ide-diff-keeps-a-bom","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Accepting a diff in your IDE keeps the file's byte order mark\n\nIf a file started with a byte order mark, accepting Claude's change in your IDE now keeps that mark instead of dropping it\n\n**What**\n\nSome text files begin with a byte order mark (BOM), an invisible marker that some programs use to tell how the text is encoded. When you accept a change from Claude in your code editor (IDE), Claude Code now puts the BOM back if the original file started with one. Before, it saved the new content exactly as received.\n\n**Why**\n\nFiles that need a BOM no longer lose it when you accept a change in your editor.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}