[BUG] There might be an error when reading Simplified Chinese; please see the bug details.

Resolved 💬 3 comments Opened Jan 8, 2026 by wen001-git Closed Jan 11, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

⏺ Read(src/components/DataDescription/data/spreadDescriptions.ts)
⎿  Read 50 lines

⏺ Update(src/components/DataDescription/data/spreadDescriptions.ts)

✶ Fixing Rate Comparison Chart description… (esc to interrupt · 1m 24s)
⎿  ☒ Add missing translation keys to zh-CN.json and en-US.json
☐ Fix Rate Comparison Chart in spreadDescriptions.ts (add SQL formulaCode)
☐ Enhance detailDescriptions.ts with SQL and calculation logic
☐ Update table references from FSI_O_TP_RESULTS to O_TP_RESULTS
☐ Update Dashboard Business Line and Organization chart SQL
☐ Run build verification

────────────────────────────────────────────────────────────────────────────────
❯ 
────────────────────────────────────────────────────────────────────────────────
⏵⏵ accept edits on (shift+tab to cycle)

thread '<unnamed>' (122442) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 32 is not a char boundary; it is inside '率' (bytes 30..33) of 利差 = 客户利率 - FTP利率
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

What Should Happen?

⏺ Read(src/components/DataDescription/data/spreadDescriptions.ts)
⎿  Read 50 lines

⏺ Update(src/components/DataDescription/data/spreadDescriptions.ts)

✶ Fixing Rate Comparison Chart description… (esc to interrupt · 1m 24s)
⎿  ☒ Add missing translation keys to zh-CN.json and en-US.json
☐ Fix Rate Comparison Chart in spreadDescriptions.ts (add SQL formulaCode)
☐ Enhance detailDescriptions.ts with SQL and calculation logic
☐ Update table references from FSI_O_TP_RESULTS to O_TP_RESULTS
☐ Update Dashboard Business Line and Organization chart SQL
☐ Run build verification

────────────────────────────────────────────────────────────────────────────────
❯ 
────────────────────────────────────────────────────────────────────────────────
⏵⏵ accept edits on (shift+tab to cycle)

thread '<unnamed>' (122442) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 32 is not a char boundary; it is inside '率' (bytes 30..33) of 利差 = 客户利率 - FTP利率
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

Error Messages/Logs

Steps to Reproduce

1 ⏺ Read(src/components/DataDescription/data/spreadDescriptions.ts)
⎿  Read 50 lines

⏺ Update(src/components/DataDescription/data/spreadDescriptions.ts)

✶ Fixing Rate Comparison Chart description… (esc to interrupt · 1m 24s)
⎿  ☒ Add missing translation keys to zh-CN.json and en-US.json
☐ Fix Rate Comparison Chart in spreadDescriptions.ts (add SQL formulaCode)
☐ Enhance detailDescriptions.ts with SQL and calculation logic
☐ Update table references from FSI_O_TP_RESULTS to O_TP_RESULTS
☐ Update Dashboard Business Line and Organization chart SQL
☐ Run build verification

────────────────────────────────────────────────────────────────────────────────
❯ 
────────────────────────────────────────────────────────────────────────────────
⏵⏵ accept edits on (shift+tab to cycle)

thread '<unnamed>' (122442) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 32 is not a char boundary; it is inside '率' (bytes 30..33) of 利差 = 客户利率 - FTP利率
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

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.1 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

⏺ Read(src/components/DataDescription/data/spreadDescriptions.ts)
⎿  Read 50 lines

⏺ Update(src/components/DataDescription/data/spreadDescriptions.ts)

✶ Fixing Rate Comparison Chart description… (esc to interrupt · 1m 24s)
⎿  ☒ Add missing translation keys to zh-CN.json and en-US.json
☐ Fix Rate Comparison Chart in spreadDescriptions.ts (add SQL formulaCode)
☐ Enhance detailDescriptions.ts with SQL and calculation logic
☐ Update table references from FSI_O_TP_RESULTS to O_TP_RESULTS
☐ Update Dashboard Business Line and Organization chart SQL
☐ Run build verification

────────────────────────────────────────────────────────────────────────────────
❯ 
────────────────────────────────────────────────────────────────────────────────
⏵⏵ accept edits on (shift+tab to cycle)

thread '<unnamed>' (122442) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 32 is not a char boundary; it is inside '率' (bytes 30..33) of 利差 = 客户利率 - FTP利率
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

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗