An error occurred while loading the application #4414

Open
opened 2026-02-16 17:43:43 -05:00 by yindo · 1 comment
Owner

Originally created by @jianxuea on GitHub (Jan 8, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Open the opencode desktop in windows,and show this, what is wrong?
Something went wrong
An error occurred while loading the application.
TypeError: Failed to execute 'set' on 'Headers': String contains non ISO-8859-1 code point.
TypeError: String contains non ISO-8859-1 code point.
at mergeHeaders (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:5435)
at mergeConfigs (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:5072)
at createClient (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:6275)
at createOpencodeClient (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:31179)
at Object.init (http://tauri.localhost/assets/index-Caz8hHfC.js:1728:29767)
at provider (http://tauri.localhost/assets/index-Caz8hHfC.js:2:31974)
at http://tauri.localhost/assets/index-Caz8hHfC.js:2:13805
at untrack (http://tauri.localhost/assets/index-Caz8hHfC.js:2:5161)
at createComponent (http://tauri.localhost/assets/index-Caz8hHfC.js:2:13798)
at get children (http://tauri.localhost/assets/index-Caz8hHfC.js:1728:273264)

Originally created by @jianxuea on GitHub (Jan 8, 2026). Originally assigned to: @adamdotdevin on GitHub. Open the opencode desktop in windows,and show this, what is wrong? Something went wrong An error occurred while loading the application. TypeError: Failed to execute 'set' on 'Headers': String contains non ISO-8859-1 code point. TypeError: String contains non ISO-8859-1 code point. at mergeHeaders (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:5435) at mergeConfigs (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:5072) at createClient (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:6275) at createOpencodeClient (http://tauri.localhost/assets/index-Caz8hHfC.js:1705:31179) at Object.init (http://tauri.localhost/assets/index-Caz8hHfC.js:1728:29767) at provider (http://tauri.localhost/assets/index-Caz8hHfC.js:2:31974) at http://tauri.localhost/assets/index-Caz8hHfC.js:2:13805 at untrack (http://tauri.localhost/assets/index-Caz8hHfC.js:2:5161) at createComponent (http://tauri.localhost/assets/index-Caz8hHfC.js:2:13798) at get children (http://tauri.localhost/assets/index-Caz8hHfC.js:1728:273264)
yindo added the windowsweb labels 2026-02-16 17:43:43 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

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

  • #6610: [BUG]: TypeError: Failed to execute 'set' on 'Headers': String contains non ISO-8859-1 code point.
  • #6906: bug: cant open folders on desktop w/ chinese characters in path
  • #5926: Windows version of the .exe terminal will report an error when opening a project folder with Chinese characters.
  • #6921: WebUI fails with non-ASCII directory names (TypeError: String contains non ISO-8859-1 code point)

All of these issues report the exact same error: TypeError: Failed to execute 'set' on 'Headers': String contains non ISO-8859-1 code point. This appears to be a known issue with non-ASCII characters (especially Chinese characters) in file paths or headers on Windows.

Feel free to ignore if your specific case differs from these.

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue might be a duplicate of existing issues. Please check: - #6610: [BUG]: TypeError: Failed to execute 'set' on 'Headers': String contains non ISO-8859-1 code point. - #6906: bug: cant open folders on desktop w/ chinese characters in path - #5926: Windows version of the .exe terminal will report an error when opening a project folder with Chinese characters. - #6921: WebUI fails with non-ASCII directory names (TypeError: String contains non ISO-8859-1 code point) All of these issues report the exact same error: `TypeError: Failed to execute 'set' on 'Headers': String contains non ISO-8859-1 code point.` This appears to be a known issue with non-ASCII characters (especially Chinese characters) in file paths or headers on Windows. Feel free to ignore if your specific case differs from these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4414