BG (@beghorse)codex claude code 终端乱码解决方法 中发帖

我好像成了 让 cc 自己检查找办法 
修改 Microsoft.PowerShell_profile.ps1
7 在 Documents\PowerShell
旧版在 Documents\WindowsPowerShell
# PowerShell UTF-8 编码配置 - 极简版
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
[Console]::InputEncoding = [System.Text.Encoding]::UTF8
chcp 65001 | Out-Null

现在codex cc 调 pwsh 旧版和 7 都正常了,
[PixPin_2025-09-26_04-05-19]
[PixPin_2025-09-26_04-10-27]