GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BUG] Desktop app fails to load projects with Chinese characters in path after update · Issue #13112 · anomalyco/opencode

[BUG] Desktop app fails to load projects with Chinese characters in path after update #13112

New issue
Copy link
New issue
Copy link
Closed
Closed
[BUG] Desktop app fails to load projects with Chinese characters in path after update#13112
Copy link
Assignees
adamdotdevin
Labels
bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Description

@meilipanduola
meilipanduola
opened on Feb 11, 2026
Issue body actions

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

  1. Install the latest OpenCode Desktop version
  2. Try to open a project with Chinese characters in the path (e.g., F:\编程\小程序\中文名26.01.23)
  3. 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

Activity

  1. meilipanduola
    added
    bugSomething isn't working
    on Feb 11, 2026
  2. github-actions
    assigned
    adamdotdevin
    on Feb 11, 2026
  3. github-actions
    added
    webRelates to opencode on web / desktop
    windows
    on Feb 11, 2026
  4. github-actions commented on Feb 11, 2026

    @github-actions
    github-actionsBot
    on Feb 11, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue appears to be a duplicate of existing reports about non-ASCII (Chinese) character handling in file paths. Please check:

    • [Crash] Crash when working directory path contains non-ASCII characters (e.g. Chinese) #13087: [Crash] Crash when working directory path contains non-ASCII characters
    • Chinese/Unicode path broken since v1.1.54 - "Failed to reload [object Object]" / "List files failed" #13061: Chinese/Unicode path broken since v1.1.54 - "Failed to reload [object Object]" / "List files failed"
    • Windows: opencode fails in non-ASCII (Chinese) directory with invalid x-opencode-directory header #13023: Windows: opencode fails in non-ASCII (Chinese) directory with invalid x-opencode-directory header
    • 在中文路径下启动会报错 #13104: 在中文路径下启动会报错 (Same issue in Chinese)
    • opencode在带有中文路径的文件下无法打开 #13063: opencode在带有中文路径的文件下无法打开 (Same issue in Chinese)

    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.

  5. alexyaroshuk commented on Feb 11, 2026

    @alexyaroshuk
    alexyaroshuk
    on Feb 11, 2026
    Contributor
    More actions

    This appears to be fixed by #13131, and expected in next release

  6. github-actions commented on Apr 13, 2026

    @github-actions
    github-actionsBot
    on Apr 13, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  7. github-actions
    closed this as completedon Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @adamdotdevin
    adamdotdevin

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.