Skip to content

Windows 下 bash 工具中文输出乱码,原因是 [Console]::OutputEncoding 被重置为 936 #31830

Closed as not planned

Description

Description

Windows 下 bash 工具中文输出乱码,原因是 [Console]::OutputEncoding 被重置为 936,建议提供 shell.args 配置项,或在 bash 工具调用前自动继承父进程编码

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

win10

Terminal

ps7

Activity

  1. github-actions commented on Jun 11, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from these, please add more detail explaining how it differs.

  2. github-actions commented on Aug 11, 2026

    @github-actions
    Contributor

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

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