| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2011-04-01 16:38 UTC] rasmus@php.net
 
-Status: Open
+Status: Bogus
  [2011-04-01 16:38 UTC] rasmus@php.net
  [2011-04-01 22:37 UTC] clombardo at incentient dot com
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 09:00:01 2025 UTC | 
Description: ------------ For special characters such as Ormož PHP Version 5.3.3-1 displays Ormo[0098]. Therefore special characters are not being displayed properly on the webpage. For PHP Version 5.3.3-0 it displayed Ormož properly. Therefore, PHP Version 5.3.3-1 is messing up all special characters on the webpage. Please respond with a solution ASAP as this problem is costing the company I am working for a lot of money. Thank you. Test script: --------------- public static function UTF8Encode($string) { $retVal = ''; $cur_encoding = mb_detect_encoding($string) ; if ($cur_encoding == "UTF-8" && mb_check_encoding($string,"UTF-8")) { $retVal = $string; } else { $retVal = utf8_encode($string); } return $retVal; } Expected result: ---------------- See my explaination. Actual result: -------------- See my explaination.