Skip to content

fix: proper unicode support for input handling#5

Merged
64bit merged 1 commit into64bit:mainfrom
akirco:main
Apr 11, 2026
Merged

fix: proper unicode support for input handling#5
64bit merged 1 commit into64bit:mainfrom
akirco:main

Conversation

@akirco
Copy link
Copy Markdown
Contributor

@akirco akirco commented Apr 9, 2026

╭ ⌘OK · openrouter(glm-4.5-air) ────────────────────────────────────────────────────────────────────────────────────────╮
│> 模                                                                                                                   │
╰ ↵ thread 'main' (2000005) panicked at src/main.rs:401:43:─────────────────────────────────────────────────────────────╯
                                                           assertion failed: self.is_char_boundary(idx)
                                                                                                       note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
╭ ⌘OK · openrouter(glm-4.5-air) ─────────────────────────────────────────────────────────────────────────────╮
│❱ 你好                                                                                                      │
╰ ↵ submit · ⇧Tab switch · esc cancel ───────────────────────────────────────────────────────────────────────╯

Copy link
Copy Markdown
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this, thank you for adding unicode support!

@64bit 64bit merged commit 88f0ac5 into 64bit:main Apr 11, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants