Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53463 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94273 invoked from network); 21 Jun 2011 09:23:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jun 2011 09:23:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.113 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.113 smtp113.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.113] ([67.192.241.113:42805] helo=smtp113.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/71-18727-F03600E4 for ; Tue, 21 Jun 2011 05:23:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp21.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 03E4C240CCD; Tue, 21 Jun 2011 05:23:25 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp21.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 706EF240267; Tue, 21 Jun 2011 05:23:24 -0400 (EDT) Message-ID: <4E00630B.2040307@sugarcrm.com> Date: Tue, 21 Jun 2011 02:23:23 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Ferenc Kovacs CC: Robert Eisele , "internals@lists.php.net" References: <1308584208.6296.9.camel@guybrush> <1308586150.6296.13.camel@guybrush> <1308589044.8394.27.camel@inspiron> <4DFF7E2A.50506@sugarcrm.com> <1308591260.8394.47.camel@inspiron> <1308605224.7135.2.camel@guybrush> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: foreach() for strings From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! On 6/21/11 1:23 AM, Ferenc Kovacs wrote: > > 2011/6/21 Robert Eisele > > > And what actually failed? The idea seams straightforward. > > Robert > > > http://www.slideshare.net/andreizm/the-good-the-bad-and-the-ugly-what-happened-to-unicode-and-php-6 Also you may want to read this: http://stackoverflow.com/questions/6162484/why-does-modern-perl-avoid-utf-8-by-default to understand why "the idea" is not straightforward as it seems. Yes, it's about Perl and UTF-8, but gives some impression about the number of issues that need to be handled. There are many PHP-specific ones on top of that (think databases, streams, filesystems, etc.) which would be expected to work out of the box if we declare Unicode support. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227