[BUG] Emojis leads to crash

Resolved 💬 3 comments Opened Jan 11, 2026 by skuttli-daniel Closed Jan 15, 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?

When telling claude to edit a page using emojis it crashed ans showing this message:

thread '<unnamed>' (106616) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb\library\core\src\str\mod.rs:833:21:
byte index 3 is not a char boundary; it is inside '😊' (bytes 0..4) of 😊" (behåller emoji)
note: run with
RUST_BACKTRACE=1` environment variable to display a backtrace

Tried to restart and resume konversation med gets the same erro.

Wrote the prompt in swedish if that matters.

What Should Happen?

No crash.

Error Messages/Logs

thread '<unnamed>' (106616) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb\library\core\src\str\mod.rs:833:21:
byte index 3 is not a char boundary; it is inside '😊' (bytes 0..4) of `😊"` (behåller emoji)`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Steps to Reproduce

  1. Go to Plan Mode
  2. Ask Claude to redesign a react comnponent with emojis in the source code.
  3. Wait for the error to occur

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.4

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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