Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

3 Answers 3

up vote 4 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

share|improve this answer
add comment

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

share|improve this answer
add comment

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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