Skip to content

TypeError: String contains non ISO-8859-1 code point when opening projects in opencode-desktop (Windows 11) #6178

Closed as duplicate

Description

@hongweifei

Description

When attempting to open a project (especially projects with Chinese names/paths or non-Latin characters) in opencode-desktop on Windows 11, the application throws a TypeError related to ISO-8859-1 encoding.

Error Stack Trace

TypeError: String contains non ISO-8859-1 code point.
    at Tp (http://tauri.localhost/assets/index-Cr_O_Uxk.js:1410:4971)
    at eD (http://tauri.localhost/assets/index-Cr_O_Uxk.js:1410:4646)
    at Pp (http://tauri.localhost/assets/index-Cr_O_Uxk.js:1410:5716)
    at Hr (http://tauri.localhost/assets/index-Cr_O_Uxk.js:1410:27716)
    at Object.init (http://tauri.localhost/assets/index-Cr_O_Uxk.js:1429:21918)
    at provider (http://tauri.localhost/assets/index-Cr_O_Uxk.js:2:23861)
    at http://tauri.localhost/assets/index-Cr_O_Uxk.js:2:9124
    at ZA (http://tauri.localhost/assets/index-Cr_O_Uxk.js:2:3367)
    at a (http://tauri.localhost/assets/index-Cr_O_Uxk.js:2:9117)
    at get children (http://tauri.localhost/assets/index-Cr_O_Uxk.js:1429:257134)

OpenCode version

OpenCode Desktop (Beta)

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Dec 26, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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