Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
My project uses GBK encoding, and I suspect that Cursor automatically opens existing files with GBK (though I haven’t confirmed this).
Later, I used Cursor to generate a plan.md file. When I opened it, it showed unreadable characters (�����). This suggests that Cursor might be using UTF-8 when generating new files, while reading existing ones as GBK – an inconsistent behavior.
I tried to change the file’s encoding to UTF-8 using the encoding control in the status bar, but for plan.md that control was missing (it is present for ordinary code files).
Since I couldn’t change the encoding directly, I explicitly asked Cursor to regenerate plan.md in GBK format. After reopening it with GBK, the Chinese displayed correctly.
Steps to Reproduce
Open a project where existing files use GBK encoding.
Ask Cursor to generate a new plan.md file.
Open the generated plan.md file in the editor.
The file shows unreadable characters (�����), indicating an encoding mismatch.
For plan.md files, the encoding selection option is missing in the status bar, so it cannot be manually switched to UTF-8.
Regenerate the plan.md file in GBK format — it displays correctly.
Expected Behavior
The plan.md file should display Chinese text correctly when opened. Instead, it shows unreadable characters (�����), and the encoding control is missing for .md files, preventing manual switch to UTF-8.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 3.7.19 (system setup)
VS Code Extension API: 1.105.1
Commit: 80c653c2c3528e65016a0d304b54486084b470b0
Date: 2026-06-07T01:42:56.126Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.19045
For AI issues: which model did you use?
auto
For AI issues: add Request ID with privacy disabled
cf0388bc-a4af-4c23-8455-de8ce64936cd
Does this stop you from using Cursor
No - Cursor works, but with this issue
