Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31785 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78032 invoked by uid 1010); 21 Aug 2007 10:24:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78017 invoked from network); 21 Aug 2007 10:24:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2007 10:24:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=tokul@users.sourceforge.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tokul@users.sourceforge.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain users.sourceforge.net from 213.197.162.99 cause and error) X-PHP-List-Original-Sender: tokul@users.sourceforge.net X-Host-Fingerprint: 213.197.162.99 avilys.eik.lt Linux 2.6 Received: from [213.197.162.99] ([213.197.162.99:55739] helo=avilys.eik.lt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/D2-54612-B5DBAC64 for ; Tue, 21 Aug 2007 06:24:27 -0400 Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id 4FEFF1F5145 for ; Tue, 21 Aug 2007 13:21:56 +0300 (EEST) Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id 397891F5134 for ; Tue, 21 Aug 2007 13:21:56 +0300 (EEST) Received: from 78.61.224.253 (NaSMail authenticated user tomas@topolis.lt) by avilys.eik.lt with HTTP; Tue, 21 Aug 2007 13:21:56 +0300 (EEST) Message-ID: <57419.78.61.224.253.1187691716.squirrel@avilys.eik.lt> In-Reply-To: <1187689101.3311.9.camel@localhost.localdomain> References: <1181829227.3478.3.camel@localhost.localdomain> <468E1158.2030900@lerdorf.com> <468E13C6.1070109@pooteeweet.org> <468E2009.9000703@zend.com> <10845a340707060432h6516ea5eja0995dbc974baa0a@mail.gmail.com> <468E2A9C.8030704@zend.com> <10845a340707060454t24a854dfu93aad454dd1f37ed@mail.gmail.com> <468E2F78.9090002@pooteeweet.org> <10845a340707060509u70152abctf1801324be490ed1@mail.gmail.com> <468E400E.6060005@e-novative.de> <698DE66518E7CA45812BD18E807866CE92D7B0@us-ex1.zend.net> <1187689101.3311.9.camel@localhost.localdomain> Date: Tue, 21 Aug 2007 13:21:56 +0300 (EEST) To: internals@lists.php.net User-Agent: NaSMail/1.2 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Subject: RE: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: tokul@users.sourceforge.net ("Tomas Kuliavas") > So what happened to the "Open" in "OpenSource" or is PHP now something > else now? > > btw. 95% of Zend users propably don't need unicode but there are a lot > more people out there who can't really use PHP right now since it > doesn't have full unicode support. The percents pulled out of sleeve > would be rather the opposite with all japanese/chinese/etc. asian > countries included.. ;) PHP supports Japanese since 4.0.6. Chinese is supported since 4.3.0. Text length evaluation, case insensitive strings, substr should work. What else do you need in PHP scripts for "full unicode support" in CJK languages? Reading symbols with $string[$position]? The ones that do such things are not your normal users and this can be done with mb_substr. Want to make sure that CJK support is corified? What is wrong with requiring mbstring support? If you go "think about users" path, then remember that PHP does not work for 110 millions of Turks, Kurds and Azerbaijani in Mid East. Bug was closed with "Won't fix" and locale insensitive tolower()|toupper() functions take less than 10 lines in C. I am not C programmer. My tests show that if I change zend_tolower() to work in locale insensitive way, strtolower() remains locale sensitive and class_exists and case insensitive method names do not fail. -- Tomas