Newsgroups: php.i18n,php.internals Path: news.php.net Xref: news.php.net php.i18n:1078 php.internals:30894 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79207 invoked by uid 1010); 13 Jul 2007 19:35:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79176 invoked from network); 13 Jul 2007 19:35:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jul 2007 19:35:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:24848] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/00-12605-1F3D7964 for ; Fri, 13 Jul 2007 15:35:15 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jul 2007 12:35:11 -0700 Message-ID: <4697D3EA.2090201@zend.com> Date: Fri, 13 Jul 2007 12:35:06 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: 'PHP Internals' , php-i18n@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Jul 2007 19:35:11.0258 (UTC) FILETIME=[ED65DFA0:01C7C584] Subject: PHP ICU project announcement From: stas@zend.com (Stanislav Malyshev) Hi all! We have started a project to make it easier to support international markets using PHP. A number of internationalization functions from IBM ICU will be made available in PHP as an extension. This project targets both PHP 5 and PHP 6. The goal is to support the most useful i18n services on both, while ensuring that any code running in PHP 5 using these functions would work the same in PHP 6. The PHP 6 implementation may provide additional functionality. The demand for internationalization services is large and is needed today, so we decided to support them in PHP 5 and provide one common solution that will also work going forward. There will be no PHP 4 support in the project. The base for the extension is the ICU library (http://www.icu-project.org/) already used by PHP 6, and the intent is to follow the ICU model, so that people having experience working with ICU in either C/C++ or Java could easily use the PHP API. The extension is composed of mostly independent functionality modules, each of which would implement one of the functionalities below. The APIs support both procedural and object-oriented notation (internally referring to the same APIs). In PHP 5, the extension assumes all incoming and outgoing strings are in UTF-8 encoding. The scope of the extension was defined as follows: - Collation (http://www.icu-project.org/apiref/icu4c/ucol_8h.html) - Number formatting (http://www.icu-project.org/apiref/icu4c/unum_8h.html) - Date/time formatting (http://www.icu-project.org/apiref/icu4c/udat_8h.html) - Locales (http://www.icu-project.org/apiref/icu4c/uloc_8h.html) - Calendars (http://www.icu-project.org/apiref/icu4c/ucal_8h.html) - International domain names (http://www.icu-project.org/apiref/icu4c/uidna_8h.html) - Message formatting (http://www.icu-project.org/apiref/icu4c/umsg_8h.html) - Resource bundles (http://www.icu-project.org/apiref/icu4c/ures_8h.html) We have initial implementations of collation and number formatting APIs for PHP 5, which will be publicly available soon. PHP 6 implementation and other APIs will follow. The project code will be available through PECL. The project is supported by LiveNation, Yahoo! and Zend Technologies. We welcome all feedback about the project - especially suggestions about what functionality is needed and comments about existing implementation. We intend to discuss it on the PHP Internationalization list - php-i18n@lists.php.net. We welcome you to join the list and participate in the discussion. We will publish API descriptions for existing functions on the i18n list in a couple of days, to start the things rolling. Regards, PHP-ICU team -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com