You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
either your page encoding is not set correctly (you should have a Content-Type: text/html; charset=utf8 header)
I have HTML5 <meta charset="UTF-8">, also tried with <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />. AddDefaultCharset UTF-8 in .htacccess to be sure 😆
or you have the wrong encoding set in your php file calling Log::info
Hello!
Monolog library is used in Laravel framework by default. I did settings to integrate it with FirePHP console.
Docs:
https://laravel.com/docs/5.3/errors#custom-monolog-configuration
Lines from my
bootstrap/app.php
:My
laravel.log
becomes clear with this code.OK. Let's send something:
Output:
Works great.
But what happened if we put some Russian letters and other unicode symbols?
Output:
Something wrong.
OK, disable our FirePHPHandler and refresh our page.
Output in
laravel.log
:Works as it should be.
What's wrong with FirePHPHandler?
Env:
Windows 7 x64
Firefox 49.0.2
Monolog 1.21.0
The text was updated successfully, but these errors were encountered: