Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70363 invoked from network); 31 Jul 2009 16:55:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2009 16:55:42 -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.117 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.117 us-mr1.zend.com Linux 2.4/2.6 Received: from [63.205.162.117] ([63.205.162.117:41856] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/46-40158-D02237A4 for ; Fri, 31 Jul 2009 12:55:42 -0400 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id AAB47E1245 for ; Fri, 31 Jul 2009 09:43:40 -0700 (PDT) Received: from [192.168.16.202] ([192.168.16.202]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 31 Jul 2009 09:41:04 -0700 Message-ID: <4A731E67.2000400@zend.com> Date: Fri, 31 Jul 2009 09:40:07 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Moriyoshi Koizumi CC: php-dev References: <4A6C6496.7060603@mozo.jp> <4A71DA47.8080809@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Jul 2009 16:41:04.0733 (UTC) FILETIME=[B22F68D0:01CA11FD] Subject: Re: [PHP-DEV] Re: Alternative mbstring implementation using ICU From: stas@zend.com (Stanislav Malyshev) Hi! > support for Unicode string manipulation, but it would actually be > better a bit if they supported arbitrary encoding as arguments. There's no such thing as "encoding" in PHP 6 - all strings are Unicode. If you've got binary data in some encoding, I think the recommended way for PHP 6 would be to convert it to Unicode string and then apply the string functions. I know that probably would mean some slowdown but I understand that's how PHP 6 is supposed to work. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com