[Bug] UTF-8 String Indexing Panic with CJK Characters
Resolved 💬 3 comments Opened Jan 10, 2026 by 1psychoQAQ Closed Feb 24, 2026
Bug Description
thread '<unnamed>' (9871407) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 23 is not a char boundary; it is inside '行' (bytes 21..24) of 金额统一 | 删空行")
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5, aborting
zsh: abort claude -r
liujiahao@192 interview %
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.2
- Feedback ID: 305486c1-28da-4c44-b933-b3f8568672fa
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗