Re: [PHP] serialize() and special ANSI characters

2007-02-20 Thread Richard Lynch
Just a guess: You could perhaps run all your data through base64 encoding or somesuch to be certain the characters to be serialized are all "nice" On Mon, February 19, 2007 8:56 am, Youri LACAN-BARTLEY wrote: > Hi all, > > I'm just curious to find out if I'm the only person to have bumped > into

Re: [PHP] serialize() and special ANSI characters

2007-02-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-02-19 17:29:53 +0100: > Roman Neuhauser wrote: > > > >class serializeASCII241 extends Tence_TestCase > >{ > >function testTruncates() > >{ > >return $this->assertEquals( > >"120GB 2X512MB 15.4IN DVD", > >serialize("120GB 2X512MB 15.

Re: [PHP] serialize() and special ANSI characters

2007-02-19 Thread Youri LACAN-BARTLEY
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-02-19 15:56:15 +0100: I'm just curious to find out if I'm the only person to have bumped into this kind of issue with serialize/unserialize. When I try and serialize an array containing a string value with the "?" character (alt+241 ASCII) suc

Re: [PHP] serialize() and special ANSI characters

2007-02-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-02-19 15:56:15 +0100: > I'm just curious to find out if I'm the only person to have bumped into > this kind of issue with serialize/unserialize. > > When I try and serialize an array containing a string value with the "?" > character (alt+241 ASCII) such as : > "

[PHP] serialize() and special ANSI characters

2007-02-19 Thread Youri LACAN-BARTLEY
Hi all, I'm just curious to find out if I'm the only person to have bumped into this kind of issue with serialize/unserialize. When I try and serialize an array containing a string value with the "±" character (alt+241 ASCII) such as : "120GB 2X512MB 15.4IN DVD±RW VHP FR" The resul