[PHP-DEV] Re: --enable-zend-multibyte

2010-12-06 Thread Dmitry Stogov
On 12/07/2010 03:32 AM, Moriyoshi Koizumi wrote: On Tue, Dec 7, 2010 at 5:57 AM, Dmitry Stogov wrote: On 12/06/2010 08:25 PM, Moriyoshi Koizumi wrote: On Mon, Dec 6, 2010 at 7:49 PM, Dmitry Stogovwrote: Hi Moriyoshi, On 12/06/2010 01:31 PM, Moriyoshi Koizumi wrote: Hi, How about usi

[PHP-DEV] Re: --enable-zend-multibyte

2010-12-06 Thread Moriyoshi Koizumi
On Tue, Dec 7, 2010 at 5:57 AM, Dmitry Stogov wrote: > On 12/06/2010 08:25 PM, Moriyoshi Koizumi wrote: >> >> On Mon, Dec 6, 2010 at 7:49 PM, Dmitry Stogov  wrote: >>> >>> Hi Moriyoshi, >>> >>> On 12/06/2010 01:31 PM, Moriyoshi Koizumi wrote: Hi, How about using the value of mb

[PHP-DEV] Re: --enable-zend-multibyte

2010-12-06 Thread Dmitry Stogov
On 12/06/2010 08:25 PM, Moriyoshi Koizumi wrote: On Mon, Dec 6, 2010 at 7:49 PM, Dmitry Stogov wrote: Hi Moriyoshi, On 12/06/2010 01:31 PM, Moriyoshi Koizumi wrote: Hi, How about using the value of mbstring.script_encoding to determine whether to enable the encoding conversion feature? If

[PHP-DEV] Re: --enable-zend-multibyte

2010-12-06 Thread Moriyoshi Koizumi
On Mon, Dec 6, 2010 at 7:49 PM, Dmitry Stogov wrote: > Hi Moriyoshi, > > On 12/06/2010 01:31 PM, Moriyoshi Koizumi wrote: >> >> Hi, >> >> How about using the value of mbstring.script_encoding to determine >> whether to enable the encoding conversion feature?  If the value is >> the same as that of

[PHP-DEV] Re: --enable-zend-multibyte

2010-12-06 Thread Dmitry Stogov
Hi Moriyoshi, On 12/06/2010 01:31 PM, Moriyoshi Koizumi wrote: Hi, How about using the value of mbstring.script_encoding to determine whether to enable the encoding conversion feature? If the value is the same as that of mbstring.internal_encoding, then no conversion should be needed in the fi

[PHP-DEV] Re: --enable-zend-multibyte

2010-12-06 Thread Moriyoshi Koizumi
Hi, How about using the value of mbstring.script_encoding to determine whether to enable the encoding conversion feature? If the value is the same as that of mbstring.internal_encoding, then no conversion should be needed in the first place. Besides we can define some singular value like "none"