RE: [PHP-DEV] RE: [PHP-I18N] adding GB18030 support for mbstring
| From: | Tex Texin | Date: | Mon, 01 Feb 2010 20:25:15 +0000 |
| Subject: | RE: [PHP-DEV] RE: [PHP-I18N] adding GB18030 support for mbstring | ||
| References: | 1 2 3 4 | Groups: | php.i18n php.internals |
| Request: | Send a blank email to internals+get-46927@lists.php.net to get a copy of this message | ||
mbstring can call out to icu to do the work.
-----Original Message-----
From: Pierre Joye [mailto:pierre.php@gmail.com]
Sent: Monday, February 01, 2010 12:11 PM
To: Tex Texin
Cc: Moriyoshi Koizumi; KITAZAKI Shigeru; php-i18n@lists.php.net;
internals@lists.php.net
Subject: Re: [PHP-DEV] RE: [PHP-I18N] adding GB18030 support for mbstring
hi,
On Mon, Feb 1, 2010 at 8:59 PM, Tex Texin <textexin@xencraft.com> wrote:
> Since ICU supports many conversions, including gb18030, and is regularly
> updated and is already a part of php, it makes no sense to include
> individually written conversions. ICU also gets considerable testing and
> review.
>
> Conversions should all be driven through icu.
In an ideal world yes. But in our not so ideal world mbstring is still
here, is still used in many places inside PHP and I think it makes
sense too add more encoding if there is a need for them.
However it is obvious that the mid/long term goal should be to replace
it completely with ICU.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org