[PHP-dev 426] Re: [Fwd: mbstring]

Masaki Fujimoto php-dev@php.gr.jp
Wed, 17 Jul 2002 20:34:39 +0900


ふじもとです。

# ここしばらくPHPから遠ざかってました^_^;

php_mbstr_encoding_handler()みたいですね。大垣さんが、MBSTR_ENC_TRANSを
デフォルトoffにした矢先に"I am in favor of dropping the normal stuff and
 just always use the multi byte version" ですか... でもちょっとそれは無
理があるような気がしますが。

事情(== php-dev-jp 422 by 大垣さん)を説明してderickさんにはあきらめてい
ただくしかないでしょうか?

とりあえずphp-devへの返信は保留しておきます。

On Wed, 17 Jul 2002 20:25:17 +0900
Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:

> 大垣です。
> 
> ちょっと、どのあたりの事をいっているのかコードを見てみないと
> わかりませんが、物によっては困る事になるかも知れません。
> 
> # input encoding translationでしょうか?
> 
> 取り急ぎ、転送しておきます。
> 
> --
> Yasuo Ohgaki
> 
> -------- Original Message --------
> Subject: mbstring
> Date: Wed, 17 Jul 2002 10:19:10 +0200 (CEST)
> From: derick@php.net
> To: PHP Developers Mailing List <php-dev@lists.php.net>
> CC: Jani Taskinen <sniper@php.net>
> Newsgroups: php.dev
> References: <cvssniper1026605533@cvsserver>
> 
> Hello,
> 
> Chasing some ghosts in the variable receiving code (bug #16985) showed
> that there are some piece of code that exist twice in PHP (once in
> the normal stuff in php_variables.c, and once in mbstring.c). Because I
> do not like duplicate code, because it's hard to maintain and hard to
> debug (ask Edin :) I am in favor of dropping the normal stuff and
> just always use the multi byte version. What do you guys think of this?
> 
> Derick
> 
> 
> 
> On Sun, 14 Jul 2002, 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?)
> >
> >
> > 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 CVS Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> ---------------------------------------------------------------------------
>  Did I help you?   http://www.derickrethans.nl/link.php?url=giftlist
>  Frequent ranting: http://www.derickrethans.nl/
> ---------------------------------------------------------------------------
>                  PHP: Scripting the Web - derick@php.net
>                     All your branches are belong to me!
>                 SRM: Script Running Machine - www.vl-srm.net
> ---------------------------------------------------------------------------
> 
> 
> _______________________________________________
> PHP-dev mailing list
> PHP-dev@php.gr.jp
> http://ns1.php.gr.jp/mailman/listinfo/php-dev
> 

--
藤本 真樹

アストラザスタジオ
fujimoto@studio.co.jp
fujimoto@php.net