Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
On Windows 11, Cursor’s Write tool sometimes creates new files encoded as UTF-16 LE instead of UTF-8.
This causes text to appear with spaces between every character (UTF-16 interpreted incorrectly).
Restarted PC, still happens.
Editing existing files doesn’t cause it, mainly happens when creating new files via Write tool.
Workaround: creating files with PowerShell in UTF-8 works. Added .editorconfig + .vscode/settings.json to enforce UTF-8.
This seems like a Cursor Write tool encoding bug on Windows.
Steps to Reproduce
Steps to Reproduce
- Use Cursor Write tool to create a new file (e.g., test-encoding.txt)
- Cursor writes the file
- Check encoding or open the file
- It is saved as UTF-16 LE
Expected Behavior
Expected
UTF-8 (preferably without BOM)
Actual
UTF-16 LE causing spaced characters
Environment
Windows 11, latest Cursor
Workarounds
PowerShell UTF-8 write, .editorconfig, .vscode/settings.json
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.3.35 (user setup)
VSCode Version: 1.105.1
Commit: cf8353edc265f5e46b798bfb276861d0bf3bf120
Date: 2026-01-13T07:39:18.564Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
all ai
For AI issues: add Request ID with privacy disabled
6c880d2b-af09-49b9-92ff-dab121c0425f
Does this stop you from using Cursor
Yes - Cursor is unusable
