[BUG] Cowork Windows: Non-ASCII (Japanese) Windows username causes path mojibake and ENOENT, preventing startup

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Feb 21, 2026 · closed Mar 5, 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?

Cowork fails to start on Windows when the Windows username contains Japanese (multibyte) characters.

The app incorrectly decodes the username path — Japanese characters are interpreted as Shift_JIS instead of UTF-8, resulting in mojibake (garbled text). This causes ENOENT errors because the garbled path does not exist.

Note: The original username and mojibake output have been partially redacted for privacy.

  • Expected path: C:\Users\今村\AppData\Roaming\Claude\...
  • Actual path in log: C:\Users\莉頑搗\AppData\Roaming\Claude\...

Chat mode works normally. Only Cowork is affected.

What Should Happen?

Claude Desktop should correctly handle non-ASCII (CJK) Windows usernames without requiring users to change system locale settings. Cowork should start successfully regardless of whether the Windows username contains Japanese, Chinese, Korean, or other multibyte characters.

Error Messages/Logs

From %LOCALAPPDATA%\Packages\Claude_<package_id>\LocalCache\Roaming\Claude\logs\main.log:

2026-02-21 09:47:41 [info] Loaded 1 persisted sessions from C:\Users\莉頑搗\AppData\Roaming\Claude\local-agent-mode-sessions\...
2026-02-21 09:47:41 [error] Failed to read sessions directory: ENOENT: no such file or directory, scandir 'C:\Users\莉頑搗\AppData\Roaming\Claude\claude-code-sessions\...'
2026-02-21 09:47:41 [error] [LocalSessionManager] loadSessions failed during account transition, restoring previous sessions ENOENT: no such file or directory, scandir 'C:\Users\莉頑搗\AppData\Roaming\Claude\claude-code-sessions\...'

Note: Username in log paths has been redacted. The mojibake pattern (莉頑搗) is consistent with UTF-8 bytes being decoded as Shift_JIS.

Steps to Reproduce

  1. Create a Windows user account with Japanese (or other CJK) characters in the username (e.g. 今村)
  2. Install Claude Desktop v1.1.3830 on Windows 11
  3. Launch Claude Desktop and switch to Cowork tab
  4. Cowork fails to start — sessions directory cannot be found due to mojibake in the path

Workaround: Enable "Beta: Use Unicode UTF-8 for worldwide language support" in Windows Region settings (Settings → Time & Language → Language & Region → Administrative language settings → Change system locale), then restart Windows. After this change, Cowork starts successfully.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Desktop v1.1.3830 (not Claude Code CLI)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

Environment Details

  • OS: Windows 11 (Build 10.0.26200)
  • CPU: Intel Core Ultra 7 155H
  • RAM: 32GB
  • This is Claude Desktop Cowork, not Claude Code CLI

Root Cause Analysis

The mojibake pattern (e.g. 今村 → 莉頑搗) is consistent with UTF-8 encoded bytes being incorrectly decoded as Shift_JIS. This is the same encoding issue reported in #24641 (macOS VM process name mojibake on Japanese locale), but on Windows it causes a functional failure (ENOENT) rather than just a cosmetic issue.

Workaround

Enabling Windows UTF-8 system locale resolves the issue, but this should not be required as it can affect other applications.

Impact

This likely affects all Windows users with CJK (Japanese, Chinese, Korean) characters in their Windows username — a very common configuration in East Asian countries.

Related Issues

  • #24641 (VM process name mojibake on Japanese locale - macOS, same UTF-8 → Shift_JIS pattern)
  • #15768 (Panic when processing Japanese text)
  • #18285 (Korean folder name encoding issues in Cowork)

View original on GitHub ↗

4 Comments

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/22056
  2. https://github.com/anthropics/claude-code/issues/24366
  3. https://github.com/anthropics/claude-code/issues/18285

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

imamura-gmoco · 7 months ago

This issue may be related to the above, but I believe it is a separate problem.

The affected component is the Claude Desktop app (Cowork mode), and the app itself fails to start due to the mojibake in the user path. The issues listed above involve Chrome Native Host or folder sync within a running session — in my case, the application cannot even launch Cowork.

Please review. Thank you.

imamura-gmoco · 7 months ago

This issue has been resolved in Claude Desktop v1.1.4498 (24f768).

Cowork now starts successfully even with a Japanese (non-ASCII) Windows username, without needing the "Use Unicode UTF-8 for worldwide language support" workaround in Windows Region settings.

I have confirmed this on the same environment (Windows 11, Build 10.0.26200, Japanese username with Shift_JIS locale).

Closing this issue. Thank you for the fix.

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.