Edit report at https://bugs.php.net/bug.php?id=60057&edit=1

 ID:               60057
 Updated by:       [email protected]
 Reported by:      ryan at ryan-hanekamp dot com
 Summary:          declare(encoding="UTF-8")=="Unsupported encoding"
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Unicode Engine related
 Operating System: Vista Home Premium SP2
 PHP Version:      5.4.0beta1

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2011-10-15 14:13:37] [email protected]

Do you have mbstring enabled? Zend multibyte requires an extension that provide 
the multibyte functions:

http://lxr.php.net/xref/PHP_TRUNK/Zend/zend_multibyte.c#multibyte_functions

------------------------------------------------------------------------
[2011-10-13 17:07:48] ryan at ryan-hanekamp dot com

Description:
------------
This is on the precompiled Windows QA NTS build 2011-Sep-15 14:27:38, running 
on Apache 2.2 as CGI.

Multibyte support is now included by default, and my php.ini file includes 
"zend.multibyte = On" as a directive. Any script that includes the line

declare(encoding="UTF-8");

Triggers this warning:

Warning: Unsupported encoding [UTF-8] in XXX on line YYY

I have tried changing case and removing the dash. Presuming this derives from 
the same functionality as Multibyte Strings, this should be the correct name 
for this encoding: 
http://us2.php.net/manual/en/mbstring.supported-encodings.php 


Test script:
---------------
declare(encoding="UTF-8");

Expected result:
----------------
Silent parsing of the script as UTF-8.

Actual result:
--------------
Warning: Unsupported encoding [UTF8] in 
H:\webserver\pd\wwwroot\qwertyuiop\index.php on line 1



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60057&edit=1

Reply via email to