Some strange character are outputted at the beginning of some php console commands.
Running composer
the output is ok, but laravel artisan
or phpunit
outputs ´╗┐
.
I've tried to encode artisan and phpunit files to UTF-8 without BOM like suggested in php 5.3 CLI junk characters, but that was not the problem.
I'm using ConEmu v131215 on Windows XP x64 and PHP 5.4.24
Question: Where can I possibly find the file that outputs the strange characters that show up at the start of every PHP command line program?
Even in windows console this problem happen, not only in ConEmu.
Installing a fresh php 5.3 with default php.ini produces the same result
An old vendor lib from FusionCharts encoded as UTF-8 with BOM was the problem.
This file was loaded in my composer.json
using autoload files from composer, so every time I used vendor\autoload.php
this file with BOM produced that weird char.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With