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
bug(bash): Encoding error with pwsh on windows #2366
I traced this on current main and can take it. Both the pipe and PTY paths decode PowerShell output as UTF-8, but the PowerShell session never sets its console/output encoding, so Windows PowerShell can emit CJK filenames in the host code page first. I’ll keep the fix at the shared spawn-plan seam, cover both paths, and preserve the existing command and exit-code behavior.
Activity
me2seeks commentedon Aug 9, 2026
I traced this on current main and can take it. Both the pipe and PTY paths decode PowerShell output as UTF-8, but the PowerShell session never sets its console/output encoding, so Windows PowerShell can emit CJK filenames in the host code page first. I’ll keep the fix at the shared spawn-plan seam, cover both paths, and preserve the existing command and exit-code behavior.