Cursor AI edits corrupt Windows-1252 encoding in C++ projects (even when editor shows 1252)

Hey, thanks for the detailed report.

Related threads:

What definitely DOESN’T work (other users tried it):

  • Manual “Reopen/Save with Encoding”
    • The corruption already happened on the server before the diff came back to the editor
  • User rules in .cursorrules
    • Doesn’t help because the corruption happens in the apply pipeline, not in the prompt
  • files.encoding settings and .editorconfig
    • They get ignored

What works right now:
Downgrade to version 2.3.41 from Download · Cursor and turn off auto-update. A few users in the threads above confirmed the issue doesn’t reproduce on 2.3.x.