Re[2]: [PHP-DEV] unserialize() & unicode issues

From: Date: Tue, 13 Sep 2005 10:42:29 +0000
Subject: Re[2]: [PHP-DEV] unserialize() & unicode issues
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-18818@lists.php.net to get a copy of this message
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

« previous php.internals (#18818) next »