Problems with accented characters when using Z-Ray



When using Z-Ray, characters using accents are not displayed correctly.  When Z-Ray is disabled the characters display correctly.


Zend Server 7.0, using Z-Ray

Linux, Windows, Mac OS X, IBMi


This known issue has been fixed for future releases.  To work around the issue in Zend Server 7.0, it is necessary to replace a specific library file and restart Zend Server.  The relevant library file depends on the OS and PHP version in use.

  • Linux / Mac OS X
  • Windows
    C:\Program Files (x86)\Zend\ZendServer\lib\statistics\php-5.4.x\StatsExt.dll
    C:\Program Files (x86)\Zend\ZendServer\lib\statistics\php-5.5.x\StatsExt.dll
  • IBMi

To fix the issue, use the following steps.

  1. Download the appropriate library from the download section below.
  2. Backup the original file by moving it out of the directory. Changing the filename in the current directory may result in library loading conflicts.
  3. Extract the downloaded file and place it in the directory.
  4. Restart Zend Server and the web server (apache, nginx, IIS).
  5. Retest the page that was not working.


The behavior can be reproduced with the following PHP code.  The expected result is "hËllô".  Before the fix, the result will appear as "h�ll�".

header('Content-Type: text/html; charset=iso-8859-1');
print "h";
print chr(203);
print "ll";
print chr(244);


Operating System PHP Version Download Name
IBMi 5.4.29
IBMi 5.5.13
Mac OS X 5.4.29
Mac OS X 5.5.13
Windows 5.4.29
Windows 5.5.13
RHEL/CentOS (32bit) 5.4.29
RHEL/CentOS (32bit) 5.5.13
RHEL/CentOS (64bit)   5.4.29
RHEL/CentOS (64bit)   5.5.13
Ubuntu/Debian (32bit) 5.4.29
Ubuntu/Debian (32bit)  5.5.13
Ubuntu/Debian (64bit)  5.4.29
Ubuntu/Debian (64bit)   5.5.13
SLES/OpenSuse (32bit) 5.4.29
SLES/OpenSuse (32bit)  5.5.13
SLES/OpenSuse (64bit)  5.4.29
SLES/OpenSuse (64bit)  5.5.13



  • Avatar
    André Antônio Lemos de Moraes

    Thanks for the correction

  • Avatar
    André Antônio Lemos de Moraes

    I upgraded to version 8 of Zend Server with PHP 5.6 and the problem returned. Can anything be done?

  • Avatar
    Zvika Dror

    I've verified the accented chars are presented properly in ZS 8.0.2 (Linux and Windows).
    For any specific issue, you should open a support ticket and we'll handle accordingly, including reopening fixed bugs if new information is presented.

  • Avatar
    André Antônio Lemos de Moraes

    Hello, sorry for the mistake, what happened was that installed the version 8 of Zend Server and it came with default charset UTF-8 and it made my stay sources buggy, removed this setting and everything worked.