bug: cant open folders on desktop w/ chinese characters in path
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
@planb788 Please edit the issue title to what this is actually about so we all know from looking at the issues list
Because the spam title on this issue means nobody will read it to discover that there is a problem.
Because the spam title on this issue means nobody will read it to discover that there is a problem.
Contrary to your intuition, the previously sent, very formal title didn't attract the developers' attention at all, and the bug remained unfixed for a very long time and through multiple iterations. Conversely, this seemingly spam title successfully drew their attention, thus creating an opportunity to fix the bug.