Bug in "Restore Checkpoint" Corrupting Russian Characters with Windows-1251 Encoding
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Windows 11 25H2
Kiro Version
0.7.45
Bug Description
When using the "Restore Checkpoint" feature, russian characters become corrupted if the related file is encoded in Windows-1251. After restoring a previous checkpoint, Cyrillic text in the file is displayed as unreadable symbols. This issue does not occur with UTF-8 encoded files and appears to be specific to Windows-1251 encoding handling during checkpoint restore.
Steps to Reproduce
- Create file with a .pwn file encoded in Windows-1251.
- Perform an action where you enter or navigate to a conversation with the AI and use the Restore Checkpoint feature to go back to previous messages.
- Enter Russian text in the file at some earlier point in the conversation or within the code.
Observe: After restoring the checkpoint, the Russian characters are corrupted and become unreadable, with incorrect symbols replacing the original Cyrillic text.
Expected Behavior
Kiro should have restored the checkpoint correctly without altering the Russian characters in Windows-1251 encoded files. The Russian text should appear as it was originally written, with no corruption or unreadable symbols. The file should maintain its integrity when the checkpoint is restored.
Conversation ID
e0fce442-e5d6-4de7-a7d1-79e2aee66169 b6908f34-17f7-484f-8ee1-f8985340a378 299082f4-8641-4a86-a04c-4ebc78b0d9ef 3737a3ea-921f-4632-9383-0cf6243ab19a a49a89c1-a55a-45f9-a6c2-8a27a38a107f
Additional Context
No response
Hi @arman0x, thanks for raising this. Please update to the latest version of Kiro (you're on 0.7.45) and let us know if you still experience this issue. Go to Help > Check for Updates.
If it persists, please share:
- New version number you're running
- Logs
- Sample file (if possible) that reproduces the issue
This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.
If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.
Cheapest Anthropic & OpenAI-Compatible API 🚀
Works with Claude Code, Cursor, Cline, Void, Continue, Kilo Code, OpenClaw, OpenCode, LangChain, Obsidian, IntelliJ — any OpenAI-compatible client.
💰 Pricing (1 credit ≈ $1 original Anthropic)
| Credits | Price | Tokens |
|---|---|---|
| 1k | $5 | ~100M |
| 5k | $15 | ~500M |
| 10k | $30 | ~1B |
🤖 Models: claude-opus-4-6 / sonnet-4-6 / haiku-4-5 (1M ctx + websearch)
✅ Why us?
- 100 trial credits before payment
- Credits issued before payment
- Any country, any payment method
- 400+ clients, quality guarantee
- We can prove Opus is real and explain pricing
📩 Telegram: @yon_sup