What is exactly --enable-zend-multibyte option for when you ./configure PHP?

link|improve this question

feedback

3 Answers

up vote 2 down vote accepted

It is to be able to detected if php scripts are Unicode encoded or not.

I've found this information in this article http://devzone.zend.com/article/2693

link|improve this answer
feedback

It is a prerequisite for declare(encoding) handling.

Apart from that, I have filed a bug about the lack of documentation for this: http://bugs.php.net/bug.php?id=52348

link|improve this answer
feedback

The configuration option --enable-zend-multibyte is part of the zend scripting engine and used for auto-detection of Unicode encoded scripts and files. It looks for BOM (byte order marks) in the begining of the file and uses that to figure out the encoding.

link|improve this answer
I don't think it is a part of Zend Framework actually. Because Zend Framework is a collection of PHP scripts ;) – FractalizeR May 27 '10 at 13:21
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.