Hey, thanks for the report.
This is a known issue. AI edits convert non-UTF-8 files to UTF-8 when saving. A few threads on the same topic:
- Windows-1252 corruption in C++
- search_replace tool corrupts ANSI/Windows-1252
- Inline edits break encoding in legacy project
There was a fix in 2.5, but based on user reports it did not fully solve the issue. I’ll pass to the team that the bug is still reproducible on 2.5.26 with Windows-1250 encoding.
Unfortunately, there is no reliable workaround yet. files.encoding, .editorconfig, and .cursorrules do not help because the conversion happens in the apply pipeline, not in the editor.
I’ll share an update when I have news.