Unicode in PowerShell with Python? Alternative shells in Windows?

后端 未结 5 2286
猫巷女王i
猫巷女王i 2020-12-19 22:03

I want a shell that supports Unicode on Windows. PowerShell as it ships doesn\'t seem to.

PowerShell V2 (Windows 7 x64):

PS C:\\> powershell
         


        
5条回答
  •  遥遥无期
    2020-12-19 23:05

    Note that, when issuing chcp 65001 in a Windows console the font must be Lucida Console and not any of the bitmap fonts. Theoretically, other monospaced ttf fonts should work, but they don't (practically). It's an issue of attributes that MS checks in monospaced fonts intended for the console, and Lucida Console includes them.

    There is at least one issue open for the Python Windows console unicode problems here.

提交回复
热议问题