由于在Oh-My-Posh V3.113.0 中,作者加入新特性:pwsh: force session to UTF8 (ce5a9d6),强制使用UTF-8编码,会使原先GBK编码输出的汉字乱码。

解决方法:

安装时指定之前的版本:

Install-Module oh-my-posh -RequiredVersion 3.112.1 -Scope CurrentUser

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-11-28
  • 2022-02-07
  • 2021-11-17
  • 2021-09-17
  • 2021-08-11
猜你喜欢
  • 2021-10-19
  • 2021-07-28
  • 2022-12-23
  • 2021-08-23
  • 2021-07-30
  • 2022-02-06
  • 2021-05-08
相关资源
相似解决方案