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

bugged all files convert auto save utf8

beta working fix bug Cursor AI edits corrupt Windows-1252 encoding

Hi @Joyfullservice!

The reproducer that @Tomasz_Siedlaczek provided earlier proved quite useful.

If you could provide something similar, we can have another look!

Hi,

Since switching to the Beta 2.7.xxx nightly build, the problem has disappeared. The cursor now correctly reads Windows-1250 encoded files and gracefully saves them back using the same encoding :slight_smile:

Because of this, I am no longer able to provide a corrupted file, which is actually the perfect outcome from my perspective.

Regards,
Tomasz