Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30825 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92123 invoked by uid 1010); 12 Jul 2007 01:58:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92108 invoked from network); 12 Jul 2007 01:58:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jul 2007 01:58:58 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 204.127.225.92 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 204.127.225.92 alnrmhc12.comcast.net NetCache Data OnTap 5.x Received: from [204.127.225.92] ([204.127.225.92:61195] helo=alnrmhc12.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/BC-05872-1EA85964 for ; Wed, 11 Jul 2007 21:58:58 -0400 Received: from earth.ufp (c-71-228-13-89.hsd1.il.comcast.net[71.228.13.89]) by comcast.net (alnrmhc12) with ESMTP id <20070712015854b1200k0asre>; Thu, 12 Jul 2007 01:58:54 +0000 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id 3757DD8147 for ; Wed, 11 Jul 2007 20:58:54 -0500 (CDT) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3n3f2SKmF8PB for ; Wed, 11 Jul 2007 20:58:54 -0500 (CDT) Received: from vulcan.ufp (vulcan.ufp [192.168.42.4]) by earth.ufp (Postfix) with ESMTP id 24957D8146 for ; Wed, 11 Jul 2007 20:58:43 -0500 (CDT) To: internals@lists.php.net Date: Wed, 11 Jul 2007 20:58:41 -0500 User-Agent: KMail/1.9.6 References: <1181829227.3478.3.camel@localhost.localdomain> <200707101906.30925.larry@garfieldtech.com> <2237.24.1.37.132.1184204516.squirrel@www.l-i-e.com> In-Reply-To: <2237.24.1.37.132.1184204516.squirrel@www.l-i-e.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200707112058.42229.larry@garfieldtech.com> Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: larry@garfieldtech.com (Larry Garfield) On Wednesday 11 July 2007, Richard Lynch wrote: > And did I dream the thread on this way back when where it was stated > that Unicode was backwards-compatible, so this wouldn't be a problem? > > Yet now it seems that UTF-16 is *not* backwards-compatible, and this > seems like a pretty big problem to me. > > Oh well. I guess I'll just shut up and hope most of my code doesn't > break when I go copying/pasting it into new sites that are locked into > Unicode mode with no way for me to change that... AFAIK, UTF-8 is backward compatible with ASCII. UTF-16 is not. That's why Microsoft defaults to UTF-16 (when they don't default to Windows-1251 or whatever crap it is) and the rest of the universe (at least the parts of it that I've seen) defaults to UTF-8. -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson