You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PowerShell shell output is mojibake on Windows unless UTF-8 OutputEncoding is set #31345
On Windows, shell tool output from PowerShell can render Chinese text as mojibake when the command does not explicitly set UTF-8 output encoding.
Possible cause.Opencode appears to decode shell stdout as UTF-8, but PowerShell on Windows may emit output using the active console code page unless [Console]::OutputEncoding is set to UTF-8. This causes non-ASCII output to be decoded incorrectly.
A possible fix is to wrap PowerShell shell commands with:
Activity
github-actions commentedon Jun 8, 2026
This issue might be a duplicate of existing issues. Please check:
Please review these issues to see if your report is already covered. If it is, consider adding any new information there instead.
qinant commentedon Jun 8, 2026
Its same as #23636 #31187 #30205