Hi, It is almost same for me. What kind of configure option you are using ?
For me (Ubuntu 11.10), if I made PHP-5.4 with 'configure --enable-mbstring', it works fine. But, if I made it with 'configure --enable-mbstring --with-apxs2=/usr/bin/apxs2', a Shift_JIS encoded PHP script causes the parser error. For both cases, zend.multibyte and zend.script_encoding can be specified. I believe that it was OK in Ubuntu 11.04 with the same option (--with-axps2). Rui Yasuo Ohgaki wrote: > Hi all, > > I noticed that "Zend Multibyte Support" won't be on with > > ./sapi/cli/php -d zend.multibyte=1 > nor > zend.multibyte=on (in php.ini) > > This happens both php-src and php-src-5.4. > > According to php.ini-production from php-src: > ; If enabled, scripts may be written in encodings that are incompatible with > ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such > ; encodings. To use this feature, mbstring extension must be enabled. > ; Default: Off > ;zend.multibyte = Off > > I thought it became runtime option. > Is this a bug or am I missing something? > > -- > Yasuo Ohgaki > yohg...@ohgaki.net > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php