Unverified50% confidenceSolutionExact time
To fix non-ASCII pipe garbling in PowerShell, you must set all three of [Console]::InputEncoding, [Console]::OutputEncoding, and $OutputEncoding to UTF-8.
1
Sources
50%
Confidence
Long-term
Relevance
10/17/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedPowerShell passes structured .NET objects between commands rather than the plain text strings used by traditional shells.69% similarUnverifiedIn Bash, ls | grep .txt filters filenames through a text pipeline, while the equivalent operation in PowerShell is Get-ChildItem | Where-Object {$_.Name -match '.txt'}.62% similarUnverifiedIn the Cursor environment on Windows, loop is essentially a PowerShell script, combined with a JSON containing the prompt and Notify on Output regex matching to capture signals.58% similarUnverified微软将 VS Code、TypeScript、PowerShell 等核心工具开源57% similarUnverifiedJavaScript strings use UTF-16 encoding, while Rust strings use UTF-8 encoding by default.56% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1052585API
curl https://kongchang.com/api/v1/knowledge/claims/1052585MCP
get_claim(id=1052585)