Re: i18n patch for PHP 4
| From: | derick@php.net | Date: | Wed, 06 Mar 2002 15:05:13 +0000 |
| Subject: | Re: i18n patch for PHP 4 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80797@lists.php.net to get a copy of this message | ||
Hello,
sounds like an interesting thing for PHP 5! I'm pretty sure more like
this can be implemented to make mb encodings better supported.
Derick
On Wed, 6 Mar 2002, Masaki Fujimoto wrote:
> Hello,
>
> The attached diffs and two new files (they should be in Zend/) are the
> one suggestion for i18n (== internationalization) of PHP 4.
>
> This patch enables PHP to:
>
> - parse scripts written in encoding called Shift JIS.
> (and have potential to handle other encodings, like BIG-5, UCS-4, etc.)
> - add a "mbstring.script_encoding" directive to php.ini, which tells
> encoding-scheme of the scripts to PHP.
> - convert encoding-scheme of PHP scripts to the encoding defined using
> "mbstring.internal_encoding" directive in php.ini.
>
> I know most of you (esp. who are using single byte encoding scheme
> everyday) are nothing to do with these features, and feel these features
> completely unnecessary. But let me tell you followings:
>
> - this patch can't do *any* harm without a '--enable-zend-multibyte'
> option (almost all of changes are #ifdef-ed).
> - this patch has already presented and evaluated in japan, and well
> appreciated.
> - again, those features make japanese (and the people who use
> multibyte-encoding) happy.
>
> I hope that you feel this patch acceptable:)
>
>
> Regards,
>
> Masaki Fujimoto
> <fujimoto@php.net>
> <fujimoto@studio.co.jp>
----------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Site Resource Manager - www.vl-srm.net
-----------------------------------------------------------------------