firephp-extension icon indicating copy to clipboard operation
firephp-extension copied to clipboard

Pb : accent Latin char value display NULL value in firebug console

Open tyjak opened this issue 11 years ago • 1 comments

Firebug send NULL value when value is an accent Latin char encoded.

Ex : fb( 'éèàù','accents',FirePHP::INFO); In FireBug Console -> accents : NULL

I had to patch FirePHP.class.php line 1385 : return (mb_detect_encoding($str,'UTF-8',true) == 'UTF-8');

So in firebug console -> accents : éèàù

tyjak avatar May 24 '13 15:05 tyjak

Also:

Logging a string variable with accent. For instance $test="diplôme" returns NULL as a value in FirePHP.

cadorn avatar Mar 12 '14 17:03 cadorn