Cursor changes encoding of source code file

Hey, thanks for the report. I can see the screenshot with a warning about an encoding mismatch between UTF-8 and Central European.

This is a known encoding issue when using AI to edit files. We have a few similar reports. Usually files get converted to UTF-8, but in your case it somehow changes from UTF-8 to Central European. The team is aware of the encoding issue and is working on a fix.

To link your report to the existing ticket, we need a bit more info:

  • Does this happen every time in Plan mode, or only sometimes?
  • What extensions are installed? (Settings > Extensions)
  • Are your Windows regional settings set to English, or Russian, or another Central European language?
  • Can you try reproducing this with a simple new C# file saved as UTF-8?

For now, the workaround is to manually re-save the file as UTF-8 after editing: bottom right corner of the editor → click the encoding → “Save with Encoding” → UTF-8.