# Agent edits strip UTF-8 BOM encoding, corrupting builds

**URL:** <https://forum.cursor.com/t/agent-edits-strip-utf-8-bom-encoding-corrupting-builds/151517>\
**Category:** Bug Reports\
**Tags:** windows, review\
**Created:** [February 11, 2026, 12:09am UTC](https://forum.cursor.com/t/agent-edits-strip-utf-8-bom-encoding-corrupting-builds/151517 "2026-02-11T00:09:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [March 3, 2026, 9:24pm UTC](https://forum.cursor.com/t/agent-edits-strip-utf-8-bom-encoding-corrupting-builds/151517/2 "2026-03-03T21:24:21Z")

</div>

Split this topic on March 3, 2026, 9:24pm UTC

5 posts were merged into an existing topic: [Cursor AI edits corrupt Windows-1252 encoding in C++ projects (even when editor shows 1252)](https://forum.cursor.com/t/cursor-ai-edits-corrupt-windows-1252-encoding-in-c-projects-even-when-editor-shows-1252/150701)

---

_[View the full topic](https://forum.cursor.com/t/agent-edits-strip-utf-8-bom-encoding-corrupting-builds/151517)._
