[BUG] VSCode extension fails to load session history when project path contains Japanese characters

Resolved 💬 3 comments Opened Jan 26, 2026 by ataliohbu Closed Jan 29, 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?

Description

The VSCode extension cannot load session history when the project path contains Japanese (multibyte) characters. The dropdown under the tab only shows the current session.

Workaround

Creating a symbolic link resolves the issue:

ln -s ~/.claude/projects/<actual-encoded-path> ~/.claude/projects/<expected-encoded-path>

### What Should Happen?

Session history should be accessible regardless of multibyte characters in the project path.

## Root Cause
The extension encodes the project path inconsistently, resulting in a mismatch between:
- The actual stored path: `-Users-username--------path-to-project-------japanese-folder-src`
- The path the extension looks for: `-Users-username--------path-to-project------japanese-folder-src`

The number of dashes differs (7 vs 6) when encoding Japanese characters (e.g., "日本語フォルダ").

### Error Messages/Logs

```shell
## Error Log
Error processing client request: Error: ENOENT: no such file or directory, scandir '/Users/username/.claude/projects/-Users-username--------path-to-project------japanese-folder-src'

Found in: `~/Library/Application Support/Code/logs/*/window1/exthost/Anthropic.claude-code/Claude VSCode.log`

Steps to Reproduce

Steps to Reproduce

  1. Open a project with Japanese characters in the path
  2. Start a conversation and close it
  3. Start a new conversation
  4. Check the session dropdown - only the current session is visible

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code Extension Version: 2.1.19 / VSCode Version: 1.108.2 (Universal) / OS: macOS (Darwin arm64 25.2.0)

Platform

Other

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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