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

Closed
opened 2026-02-16 17:41:46 -05:00 by yindo · 1 comment
Owner

Originally created by @hongweifei on GitHub (Dec 25, 2025).

Originally assigned to: @adamdotdevin on GitHub.

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

Originally created by @hongweifei on GitHub (Dec 25, 2025). Originally assigned to: @adamdotdevin on GitHub. ### 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_
yindo added the windowsbugweb labels 2026-02-16 17:41:46 -05:00
yindo closed this issue 2026-02-16 17:41:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2025):

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

  • #5926: Windows version of the .exe terminal will report an error when opening a project folder with Chinese characters.

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

@github-actions[bot] commented on GitHub (Dec 25, 2025): This issue might be a duplicate of existing issues. Please check: - #5926: Windows version of the .exe terminal will report an error when opening a project folder with Chinese characters. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3873