Re: unserialize() & unicode issues
| From: | Derick Rethans | Date: | Wed, 14 Sep 2005 12:45:13 +0000 |
| Subject: | Re: unserialize() & unicode issues | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18881@lists.php.net to get a copy of this message | ||
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