Zend Framework

No accent support in Zend_Log_Writer_Firebug

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Not an Issue
  • Affects Version/s: 1.10.2
  • Fix Version/s: 1.11.6
  • Component/s: Zend_Log
  • Labels:
    None

Description

When logging accent using Zend_Log_Writer_Firebug, we get NULL log in FireBug Console.

require_once 'Zend/Application.php';
require_once 'Zend/Log/Writer/FireBug.php';
$writer = new Zend_Log_Writer_Firebug();
$logger = new Zend_Log($writer);

$logger->info( 'Un événement !' ) ;

In the FireBug console I get NULL instead of my string.

Activity

Hide
Shawn Stratton added a comment -

Testing headers in zf 1.11.5 the header is correctly registered (with a url encoded value) if this is still an issue the issue is with the Firebug Console not the writer. Making as resolved - not an issue.

Output of my test:

array(3) {
["name"]=>
string(12) "X-Wf-1-1-1-1"
["value"]=>
string(47) "43|[{"Type":"INFO"},"Un \u00e9v\u00e9nement!"]|"
["replace"]=>
bool(true)
}

Show
Shawn Stratton added a comment - Testing headers in zf 1.11.5 the header is correctly registered (with a url encoded value) if this is still an issue the issue is with the Firebug Console not the writer. Making as resolved - not an issue. Output of my test: array(3) { ["name"]=> string(12) "X-Wf-1-1-1-1" ["value"]=> string(47) "43|[{"Type":"INFO"},"Un \u00e9v\u00e9nement!"]|" ["replace"]=> bool(true) }

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: