Here’s how to find Regional Settings in Windows:
- Press Windows + R
- Type
intl.cpland press Enter - Go to the Administrative tab
- Click Change system locale…
- Check Beta: Use Unicode UTF-8 for worldwide language support
- Restart your PC (you need a full reboot, not just restarting Cursor)
Important: like I said in post #4, this workaround might not fully fix the issue. Based on a report in this thread Windows: Cursor Hooks corrupt Chinese (UTF-8) characters in stdin - replaced with question marks, even after enabling the UTF-8 beta option, characters show correctly in the execution log, but files created by the hook script may still contain question marks.
The team is working on fixing this bug, but there’s no ETA yet.