Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktopwindows
Description
Description
Description
After updating to the latest version of OpenCode Desktop, projects with Chinese characters (or other non-ASCII characters) in their file paths fail to load. The previous version worked fine with Chinese paths.
Steps to Reproduce
- Install the latest OpenCode Desktop version
- Try to open a project with Chinese characters in the path (e.g.,
F:\编程\小程序\中文名26.01.23) - The application shows multiple errors and fails to load the project
Expected Behavior
The project should load successfully, as it did in previous versions of OpenCode.
Actual Behavior
The following errors appear:
- "Failed to reload [project name]" with
[object Object] - "无法加载 [project name] 的会话" (Cannot load project sessions)
- "列出文件失败" (Failed to list files)
Console error:
Error: Stale read from <Show>.
at castError (http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:10353)
at handleError (http://tauri.localhost/assets/bindings-BpGTC5wg.js:1:10586)
...
Environment
- OS: Windows 11
- OpenCode Version: Latest (updated on 2026-02-11)
- Path Example:
F:\编程\小程序\中文名26.01.23 - Previous Version: Worked fine with Chinese paths
Additional Context
- The issue appears to be related to UTF-8 encoding of paths
- In the config file (
opencode.global.dat), Chinese characters are incorrectly encoded - Workaround: Creating symbolic links with English names works fine
Workaround
Creating a symbolic link with an English path works:
New-Item -ItemType SymbolicLink -Path "F:\badminton-master" -Target "F:\编程\小程序\中文名"Impact
This is a regression from previous versions and affects users in China, Japan, Korea, and other regions using non-ASCII characters in file paths.
Suggested Fix
- Ensure proper UTF-8 encoding for file paths throughout the application
- Test with non-ASCII characters in paths before releases
- Add automated tests for internationalization (i18n) path handling
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Reacted by 17DDD and lfapex
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktopwindows
Activity
github-actions commentedon Feb 11, 2026
This issue appears to be a duplicate of existing reports about non-ASCII (Chinese) character handling in file paths. Please check:
These reports appear to be describing the same underlying issue with UTF-8 encoding of file paths that began in v1.1.54.
It may be helpful to consolidate discussion in one of the existing issues to avoid fragmentation.
alexyaroshuk commentedon Feb 11, 2026
This appears to be fixed by #13131, and expected in next release
github-actions commentedon Apr 13, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.