Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repl crashes on cyrillic symbol #844

Open
DaddyWesker opened this issue Feb 4, 2025 · 0 comments
Open

Repl crashes on cyrillic symbol #844

DaddyWesker opened this issue Feb 4, 2025 · 0 comments
Assignees

Comments

@DaddyWesker
Copy link
Contributor

Problem occurs on current state of main branch. After cargo test I'm launching repl cargo run --bin metta-repl and after I'm able to input something if I'm inputting cyrillic symbol like ё I'm getting rust panick

> thread 'main' panicked at repl\src\interactive_helper.rs:135:40:
byte index 1 is not a char boundary; it is inside 'ё' (bytes 0..2) of `ё`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\metta-repl.exe` (exit code: 101)

Probably rust will also panick on other symbols, not only cyrillic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants