Jani Taskinen wrote: > sniper Sat Jul 13 20:12:13 2002 EDT > > Modified files: > /php4/ext/mbstring config.m4 > Log: > These options are all enabled by default. (why?)
I asked to php-dev and nobody objects enabling mbstirng by default. This allow some modules (extif, mailparse(?), for example) to use multibyte feature. multibyte regular expression is "must have" feature for ease of use. (preg supports UTF-8, but it requires conversion in many cases) mbstr-enc-trans is enabled, since it's does not require much performenace penalty and most multibyte aware installations enable this option, I think. This option is subject to be discussed. There are pros and cons for enabling input encoding translation by default. Even if I enabled it by default, I would say it may be better to be disabled by default for fully I18N web sites... Any opinions? -- Yasuo Ohgaki > > > Index: php4/ext/mbstring/config.m4 > diff -u php4/ext/mbstring/config.m4:1.17 php4/ext/mbstring/config.m4:1.18 > --- php4/ext/mbstring/config.m4:1.17 Sat Jul 13 20:11:44 2002 > +++ php4/ext/mbstring/config.m4 Sat Jul 13 20:12:13 2002 > @@ -1,12 +1,12 @@ > dnl > -dnl $Id: config.m4,v 1.17 2002/07/14 00:11:44 sniper Exp $ > +dnl $Id: config.m4,v 1.18 2002/07/14 00:12:13 sniper Exp $ > dnl > > PHP_ARG_ENABLE(mbstr_enc_trans, whether to enable encoding translation, > -[ --disable-mbstr-enc-trans Enable encoding translation], yes) > +[ --disable-mbstr-enc-trans Disable encoding translation], yes) > > PHP_ARG_ENABLE(mbregex, whether to enable multibyte regex support, > -[ --disable-mbregex Enable multibyte regex support], yes) > +[ --disable-mbregex Disable multibyte regex support], yes) > > PHP_ARG_ENABLE(mbstring, whether to enable multibyte string support, > [ --disable-mbstring Disable multibyte string support], yes) > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php