Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34870 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69384 invoked by uid 1010); 22 Jan 2008 04:22:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69369 invoked from network); 22 Jan 2008 04:22:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jan 2008 04:22:04 -0000 Authentication-Results: pb1.pair.com header.from=tstarling@wikimedia.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=tstarling@wikimedia.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wikimedia.org from 66.111.4.27 cause and error) X-PHP-List-Original-Sender: tstarling@wikimedia.org X-Host-Fingerprint: 66.111.4.27 out3.smtp.messagingengine.com Received: from [66.111.4.27] ([66.111.4.27:58410] helo=out3.smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/FF-64254-C6F65974 for ; Mon, 21 Jan 2008 23:22:04 -0500 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id B222A8CBCD for ; Mon, 21 Jan 2008 23:22:01 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 21 Jan 2008 23:22:01 -0500 X-Sasl-enc: KkjcIA3fzfS1p1hC00EVQR6d2xuL/2DuOW8LmrN1A0qS 1200975721 Received: from [192.168.0.2] (CPE-121-209-187-75.nsw.bigpond.net.au [121.209.187.75]) by mail.messagingengine.com (Postfix) with ESMTP id E91C2A98C for ; Mon, 21 Jan 2008 23:22:00 -0500 (EST) Message-ID: <47956F60.3050902@wikimedia.org> Date: Tue, 22 Jan 2008 15:21:52 +1100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: php-dev References: <4794AE48.20005@daylessday.org> In-Reply-To: <4794AE48.20005@daylessday.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP From: tstarling@wikimedia.org (Tim Starling) Antony Dovgal wrote: > 6 reasons why we must to get rid of The Switch ASAP > ---------------------------------------------------- > 1) it gives users false sense of "compatibility" when no compatibility is even planned; > > 2) it's supposed to mean compatibility, but can be changed only in php.ini, which > means users would still have to maintain 2 versions of their software: > one for On and second for Off. > +1, I'm not looking forward to implementing support for both values in MediaWiki. As for PHP 6 generally: there needs to be a solid migration path, such as forwards-compatible syntax introduced to PHP 5. MediaWiki has extensive support for unicode in PHP 5, including a pure PHP implementation of NFC, cross-script and confusable character checks, extensive parsing of UTF-8 text using regexes both with and without /u, and megabytes of localisations in the form of PHP source files with UTF-8 string literals. Porting all this to a UTF-16-based environment would be a hassle, and we don't gain anything from it in terms of features for our users. I'd hate to end up in an adversarial situation, where developers working in PHP are forced to boycott or fork PHP 6. That's why a simple migration path is important. -- Tim Starling