Bug Description
Forge crashes when user pastes or types Cyrillic (UTF-8 multibyte) text directly into the interactive prompt.
Steps to Reproduce:
Steps to Reproduce
Any wikipedia article would work
Launch Forge (forge)
Paste or type any Cyrillic text into the prompt
Forge crashes
Expected Behavior
Forge should handle Cyrillic long input normally.
Actual Behavior
ERROR: byte index 3 is not a char boundary; it is inside 'Р' (bytes 2..4) of КРИТЕРИИ — ЧТО нужно получить...
Forge Version
2.11.0
Operating System & Version
linux
AI Provider
None
Model
No response
Installation Method
npx forgecode@latest
Configuration
Bug Description
Forge crashes when user pastes or types Cyrillic (UTF-8 multibyte) text directly into the interactive prompt.
Steps to Reproduce:
Steps to Reproduce
Any wikipedia article would work
Launch Forge (forge)
Paste or type any Cyrillic text into the prompt
Forge crashes
Expected Behavior
Forge should handle Cyrillic long input normally.
Actual Behavior
ERROR: byte index 3 is not a char boundary; it is inside 'Р' (bytes 2..4) of
КРИТЕРИИ — ЧТО нужно получить...Forge Version
2.11.0
Operating System & Version
linux
AI Provider
None
Model
No response
Installation Method
npx forgecode@latest
Configuration