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

Open
opened 2026-02-16 17:41:17 -05:00 by yindo · 2 comments
Owner

Originally created by @planb788 on GitHub (Dec 21, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Description

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 Kp (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:4969)
at Xd (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:4644)
at xp (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:5714)
at Yr (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:27617)
at Object.init (http://tauri.localhost/assets/index-B0E43ZBC.js:1393:21243)
at provider (http://tauri.localhost/assets/index-B0E43ZBC.js:2:23858)
at http://tauri.localhost/assets/index-B0E43ZBC.js:2:9122
at WA (http://tauri.localhost/assets/index-B0E43ZBC.js:2:3366)
at c (http://tauri.localhost/assets/index-B0E43ZBC.js:2:9115)
at get children (http://tauri.localhost/assets/index-B0E43ZBC.js:1393:251749)

OpenCode version

v1.0.185

Steps to reproduce

  1. Open OpenCode
  2. Select the project folder containing Chinese characters.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @planb788 on GitHub (Dec 21, 2025). Originally assigned to: @adamdotdevin on GitHub. ### Description 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 Kp (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:4969) at Xd (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:4644) at xp (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:5714) at Yr (http://tauri.localhost/assets/index-B0E43ZBC.js:1385:27617) at Object.init (http://tauri.localhost/assets/index-B0E43ZBC.js:1393:21243) at provider (http://tauri.localhost/assets/index-B0E43ZBC.js:2:23858) at http://tauri.localhost/assets/index-B0E43ZBC.js:2:9122 at WA (http://tauri.localhost/assets/index-B0E43ZBC.js:2:3366) at c (http://tauri.localhost/assets/index-B0E43ZBC.js:2:9115) at get children (http://tauri.localhost/assets/index-B0E43ZBC.js:1393:251749) ### OpenCode version v1.0.185 ### Steps to reproduce 1. Open OpenCode 2. Select the project folder containing Chinese characters. ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 17:41:17 -05:00
Author
Owner

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

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

  • #2904: Icons/Unicode characters cause file editing failures
  • #3404: opentui: Unable to input Chinese characters
  • #2593: [bug] opencode produces gabled text when input containing non-ascii characters
  • #3814: opentui: Strange characters appear between Chinese characters
  • #2163: The text appears garbled after typing Chinese characters into the input box.

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

@github-actions[bot] commented on GitHub (Dec 21, 2025): This issue might be a duplicate of existing issues. Please check: - #2904: Icons/Unicode characters cause file editing failures - #3404: opentui: Unable to input Chinese characters - #2593: [bug] opencode produces gabled text when input containing non-ascii characters - #3814: opentui: Strange characters appear between Chinese characters - #2163: The text appears garbled after typing Chinese characters into the input box. Feel free to ignore if none of these address your specific case.
Author
Owner

@planb788 commented on GitHub (Dec 25, 2025):

This problem remains unresolved, even in the latest version.

@planb788 commented on GitHub (Dec 25, 2025): This problem remains unresolved, even in the latest version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3738