Autocomplete suggestion list shows octal escape sequences instead of CJK characters on Windows

Resolved 💬 3 comments Opened Jan 10, 2026 by helebest Closed Jan 14, 2026

Description

When using Claude Code on Windows, the autocomplete/suggestion list displays CJK (Chinese/Japanese/Korean) characters as octal escape sequences instead of rendering them properly.

Steps to Reproduce

  1. Create a file with Chinese characters in the filename, e.g., articles/draft/测试文章.md
  2. Start typing @ or a path that would trigger autocomplete
  3. Observe the suggestion list

Expected Behavior

The suggestion list should display:

articles/draft/测试文章.md

Actual Behavior

The suggestion list displays octal escape sequences:

articles/draft/\346\265\213\350\257\225\346\226\207\347\253\240.md

Environment

  • OS: Windows 10/11
  • Terminal: Various (Windows Terminal, VS Code integrated terminal, Git Bash)
  • Terminal encoding: UTF-8 (chcp 65001)
  • LANG: en_US.UTF-8

Additional Context

  • The terminal itself renders CJK characters correctly (e.g., ls command output shows Chinese filenames properly)
  • The issue is specifically in Claude Code's autocomplete UI rendering layer
  • Selecting the garbled suggestion still works correctly - the actual path submitted is correct
  • This is a display/UX issue, not a functional bug

Workaround

Users can:

  • Manually type the full path
  • Copy-paste paths from elsewhere
  • Use ASCII-only filenames

View original on GitHub ↗

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