Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18881 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50451 invoked by uid 1010); 14 Sep 2005 12:45:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50422 invoked from network); 14 Sep 2005 12:45:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2005 12:45:50 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:43763] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A4/64-41173-97B18234 for ; Wed, 14 Sep 2005 08:45:49 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j8ECjLkU019017; Wed, 14 Sep 2005 14:45:21 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j8ECjHVb018993; Wed, 14 Sep 2005 14:45:19 +0200 Date: Wed, 14 Sep 2005 08:45:13 -0400 (EDT) X-X-Sender: derick@localhost To: Antony Dovgal cc: val khokhlov , internals@lists.php.net In-Reply-To: <4326A4E1.30304@zend.com> Message-ID: References: <43215A91.8050409@zend.com> <9CF57DC5-A18B-4264-B20B-8552B0BB66F1@gravitonic.com> <6.2.3.4.2.20050912175136.04449320@localhost> <43268C01.20006@zend.com> <1031242468.20050913123221@vk.kiev.ua> <43269F21.5030705@zend.com> <4326A4E1.30304@zend.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] unserialize() & unicode issues From: derick@php.net (Derick Rethans) On Tue, 13 Sep 2005, Antony Dovgal wrote: > > But needed, as even with the semantics off, you can get unicode strings. > > Which can end up as array keys. > > Yes, in this case there is no way to avoid converting (while doing > unserialize()), but I don't see any point in creating Unicode strings when > serializing with unicode_semantics is Off. Why not? An array can have a unicode string element, you want to properly serialize that, as you can't always downconvert. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org