Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18818 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96102 invoked by uid 1010); 13 Sep 2005 10:42:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96087 invoked from network); 13 Sep 2005 10:42:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2005 10:42:18 -0000 X-Host-Fingerprint: 62.244.34.170 vk.kiev.ua NetCache 5.3-5.5 Received: from ([62.244.34.170:63577] helo=ivory.vk.kiev.ua) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 33/30-58045-90DA6234 for ; Tue, 13 Sep 2005 06:42:18 -0400 Received: from [192.168.0.8] (helo=ROCK) by ivory.vk.kiev.ua with esmtp (Exim 4.43) id 1EF8Ev-000FdV-Pa; Tue, 13 Sep 2005 13:42:13 +0300 Date: Tue, 13 Sep 2005 13:42:29 +0300 X-Priority: 3 (Normal) Message-ID: <558353974.20050913134229@vk.kiev.ua> To: Antony Dovgal , internals@lists.php.net In-Reply-To: <43269F21.5030705@zend.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: [PHP-DEV] unserialize() & unicode issues From: val@vk.kiev.ua (val khokhlov) Hello Antony, Tuesday, September 13, 2005, 12:42:57 PM, you wrote: AD> So you propose to store strings/hash keys/class names in Unicode AD> even if unicode_semantics is Off ? yes - those items that are encoded into unicode when unicode_semantics is on (afair, class names and property names for serialize) AD> It looks like adding unnecessary overhead to me. it's an overhead when you serialize and unserialize data on the same system with the same php.ini unicode settings; but when transferring data to other systems or changing something, you need to either use unicode, or specify encoding for the serialized data (so, you can convert them to the actual encoding when unserializing) -- Best regards, val mailto:val@vk.kiev.ua