-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
Description
On Windows systems, opening a folder with Chinese characters in its path will trigger this error:
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-DbZ5794J.js:1705:5435)
at mergeConfigs (http://tauri.localhost/assets/index-DbZ5794J.js:1705:5072)
at createClient (http://tauri.localhost/assets/index-DbZ5794J.js:1705:6275)
at createOpencodeClient (http://tauri.localhost/assets/index-DbZ5794J.js:1705:31079)
at Object.init (http://tauri.localhost/assets/index-DbZ5794J.js:1728:27129)
at provider (http://tauri.localhost/assets/index-DbZ5794J.js:2:26550)
at http://tauri.localhost/assets/index-DbZ5794J.js:2:10804
at untrack (http://tauri.localhost/assets/index-DbZ5794J.js:2:4386)
at createComponent (http://tauri.localhost/assets/index-DbZ5794J.js:2:10797)
at get children (http://tauri.localhost/assets/index-DbZ5794J.js:1728:275288)
Plugins
no plugins
OpenCode version
v1.1.1
Steps to reproduce
Open a directory with Chinese characters in its path.
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response