Strange characters in PHP Composer and Laravel installer output - Windows 10 CMD

前端 未结 1 1597
甜味超标
甜味超标 2021-01-21 16:51

I have this problem on Windows 10 -- PHP Composer showing strange characters.

I have tried to install ansicon as suggested here and it solved the p

1条回答
  •  借酒劲吻你
    2021-01-21 17:37

    I had the same problem, friend.

    Have you tried PowerShell? Only if you didn't notice, but it is also available on Github now: https://github.com/PowerShell/PowerShell

    PHP Composer on PowerShell

    I think the problem is that the common Windows terminal does not support the ANSI/VT100 colors.

    Check this old thread: How to make win32 console recognize ANSI/VT100 escape sequences?

    Hope this helps.

    0 讨论(0)
提交回复
热议问题