|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-12 18:22 UTC] jani@php.net
[2009-08-12 18:42 UTC] tony at marston-home dot demon dot co dot uk
[2009-08-13 09:00 UTC] jani@php.net
[2009-08-13 09:19 UTC] tony at marston-home dot demon dot co dot uk
[2009-08-13 09:36 UTC] tony at marston-home dot demon dot co dot uk
[2009-09-11 06:08 UTC] svn@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
Description: ------------ My PHP.INI file contains the following: ;mbstring.internal_encoding EUC-JP ;mbstring.func_overload = 0 My htaccess file contains the following: php_value mbstring.internal_encoding "UTF-8" php_value mbstring.func_overload 2 When I run phpinfo() it shows that the value for mbstring.internal_encoding has been changed, but the value for mbstring.func_overload is still 0. When I try to run strtoupper() on a string which contains a multibyte character the result is incorrect. Reproduce code: --------------- $upper = strtoupper('w?rzburg'); if ($upper != 'W?RZBURG') { echo 'test failed!'; } // if Expected result: ---------------- I expect the above code to work without the 'test failed!' message. Actual result: -------------- $upper contains 'W?RZBURG'