Seldaek / monolog

Sends your logs to files, sockets, inboxes, databases and various web services

Home Page:https://seldaek.github.io/monolog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Special characters e.g. üö§ with Monolog+ Firephp + Chrome extension not working ???

wnedoe opened this issue · comments

Monolog version 2

If i try to log user input including special characters like "Öüħ" to the Firephp Handler, the complete chrome screen of the FIREPHP extension stays blank.
If i remove those characters everythink works perfectly.

Update:
Using ONLY the current class
https://github.com/firephp/firephp-core
together with the firephp chrome extension but WITHOUT MONOLOG

everything works perfectly with all these unicode characters like ÄÜÖ§
they are prperly displayed in the firephp console

So most probably the FirePHPHandler has a bug.

thanks
Alex

Can you perhaps show what the exact headers sent look like (both for FirePHPHandler and native firephp-core)? That might hint at why one works and the other not.

Ah never mind, I suspect the issue is because we send unicode unescaped in the JSON. And that goes through headers, which is probably not a great idea.

Can you please try if composer require monolog/monolog:^2.1@dev fixes it for you?

Ok great, I'll try and get a release out soonish.