Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Php artisan displaying strange characters on windows command prompt

Tags:

laravel

Please can anyone help me with this error I'm getting on command prompt for windows 10. Whenever I try to utilize the php artisan feature in Laravel 5.2 I get this error. I've tried running "system file checker command: sfc /scannow" but the error still persists. enter image description here

like image 495
Ewomazino Ukah Avatar asked Sep 02 '16 13:09

Ewomazino Ukah


3 Answers

These are color codes. Use another terminal app if it annoys you. I'd recommend to install Git for Windows which will install pretty cool mintty terminal app.

like image 180
Alexey Mezenin Avatar answered Nov 12 '22 03:11

Alexey Mezenin


That's not an error. Those are color codes, which the Windows terminal apparently doesn't support.

There's an uncited note on the Wikipedia article that Windows 10 TH2 patch version does. YMMV.

Here's what they look like in a terminal that supports them:

enter image description here

like image 24
ceejayoz Avatar answered Nov 12 '22 01:11

ceejayoz


Windows PowerShell works perfectly with color codes and other ANSI codes. Even if I find it somehow less "responsive" than the old command prompt.

like image 2
Dario Corno Avatar answered Nov 12 '22 01:11

Dario Corno