Skip to content

bug: cant open folders on desktop w/ chinese characters in path #6906

Closed as not planned

Description

@planb788

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

Activity

  1. mausch commented on Jan 5, 2026

    @mausch

    @planb788 Please edit the issue title to what this is actually about so we all know from looking at the issues list

  2. AaronFeledy commented on Jan 5, 2026

    @AaronFeledy

    Because the spam title on this issue means nobody will read it to discover that there is a problem.

  3. changed the title [-]Why has such an obvious and serious bug remained unfixed to this day?[/-] [+]bug: cant open folders on desktop w/ chinese characters in path[/+] on Jan 5, 2026
  4. planb788 commented on Jan 8, 2026

    @planb788
    Author

    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.

  5. github-actions commented on Mar 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  6. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions