Changing 'detect_unicode' disabled as default is a possible solution.

But, it might cause some backward incompatibility issues.
If no one gives any objection within a coupled of days,
I will commit the change ('detect_unicode'  will be disabled by default).

Rui

On Thu, 27 Sep 2007 18:37:57 +0200
LAUPRETRE François (P) <[EMAIL PROTECTED]> wrote:

> > From: Rui Hirokawa [mailto:[EMAIL PROTECTED] 
> > 
> > 1.set detect_unicode = Off
> > 2.adding declare(encoding="encoding_name") on the first line 
> > of script can be your solution ?
> 
> The 'declare' statement is not a solution because unicode detection is done 
> before it is seen. So, PHK and PHAR remain incompatible with zend_multibyte.
> 
> Can you confirm that unicode detection does not exist in PHP 6 (keeping only 
> 'declare' statements) ?
> 
> As a workaround in PHP 5, would it be possible to add a 'detect_unicode=off' 
> line in php.ini-dist and php.ini-recommended ?
> 
> Regards
> 
> Francois
> 


-- 
Rui Hirokawa <[EMAIL PROTECTED]>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to