We made a patch to add a mbfilter for GB18030 encoding for PHP-5.3.1.
Please take a look at our blog:
http://developer.cybozu.co.jp/oss/2010/01/php-mbstring-pa.html
We would appreciate if you take this patch into the mainline.
BTW, our blog has various other patches for PHP in addition to this one.
Feel free to mail me if you are interested in some of them.
Regards,
KITAZAKI Shigeru <shigeru_kitazaki@cybozu.co.jp
Hm, I just wonder why yet another encoding. Shouldn't unicode be
enough for every one?
2010/1/28 KITAZAKI Shigeru shigeru_kitazaki@cybozu.co.jp:
We made a patch to add a mbfilter for GB18030 encoding for PHP-5.3.1.
Please take a look at our blog:
http://developer.cybozu.co.jp/oss/2010/01/php-mbstring-pa.htmlWe would appreciate if you take this patch into the mainline.
BTW, our blog has various other patches for PHP in addition to this one.
Feel free to mail me if you are interested in some of them.Regards,
KITAZAKI Shigeru shigeru_kitazaki@cybozu.co.jp--
PHP Unicode & I18N Mailing List (http://www.php.net/)
KITAZAKI Shigeru wrote:
BTW, our blog has various other patches for PHP in addition to this one.
Feel free to mail me if you are interested in some of them.Regards,
KITAZAKI Shigeru shigeru_kitazaki@cybozu.co.jp
To highlight and record those patches, can you create a bug report for
each problem/patch and add the URL to your patch?
Some readers of the internals list would also suggest emailing an
short summary of the patch here.
Chris
--
Blog: http://blogs.oracle.com/opal
Twitter: http://twitter.com/ghrd
Kitazaki-san,
First thank you for your effort. But, I am under the impression that
the conversion table looks too huge to include in a distribution
(>30MB). Is there any way to get this more compressed?
BTW, I created an extension that is near-compatible with mbstring and
based on ICU that of course supports GB18030. See
http://github.com/moriyoshi/mbstring-ng for detail.
Regards,
Moriyoshi
2010/1/28 KITAZAKI Shigeru shigeru_kitazaki@cybozu.co.jp:
We made a patch to add a mbfilter for GB18030 encoding for PHP-5.3.1.
Please take a look at our blog:
http://developer.cybozu.co.jp/oss/2010/01/php-mbstring-pa.htmlWe would appreciate if you take this patch into the mainline.
BTW, our blog has various other patches for PHP in addition to this one.
Feel free to mail me if you are interested in some of them.Regards,
KITAZAKI Shigeru shigeru_kitazaki@cybozu.co.jp--
PHP Unicode & I18N Mailing List (http://www.php.net/)
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.
-----Original Message-----
From: Moriyoshi Koizumi [mailto:mozo@mozo.jp]
Sent: Sunday, January 31, 2010 11:29 PM
To: KITAZAKI Shigeru
Cc: php-i18n@lists.php.net; internals@lists.php.net
Subject: Re: [PHP-I18N] adding GB18030 support for mbstring
Kitazaki-san,
First thank you for your effort. But, I am under the impression that
the conversion table looks too huge to include in a distribution
(>30MB). Is there any way to get this more compressed?
BTW, I created an extension that is near-compatible with mbstring and
based on ICU that of course supports GB18030. See
http://github.com/moriyoshi/mbstring-ng for detail.
Regards,
Moriyoshi
2010/1/28 KITAZAKI Shigeru shigeru_kitazaki@cybozu.co.jp:
We made a patch to add a mbfilter for GB18030 encoding for PHP-5.3.1.
Please take a look at our blog:
http://developer.cybozu.co.jp/oss/2010/01/php-mbstring-pa.htmlWe would appreciate if you take this patch into the mainline.
BTW, our blog has various other patches for PHP in addition to this one.
Feel free to mail me if you are interested in some of them.Regards,
KITAZAKI Shigeru shigeru_kitazaki@cybozu.co.jp--
PHP Unicode & I18N Mailing List (http://www.php.net/)
--
PHP Unicode & I18N Mailing List (http://www.php.net/)
hi,
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
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,
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
hi,
mbstring can call out to icu to do the work.
Right, pls read the thread, that's Moriyoshi is working on. But can we
do it in a minor release? I don't think so.
Cheers,
-----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 mbstringhi,
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
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org