Problems with PDO mysql
am 06.03.2006 18:37:08 von Escuder Nicolas------=_NextPart_000_011B_01C6414C.F93974D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
=20
I have made this little example for explain my problem :=20
$pdo =3D new PDO('mysql:host=3D192.168.69.20;dbname=3DReleased', 'Web',
'Master99');
$data =3D =
'/enabled=3Dboolean:true;/description=3Dstring:"-b=E9v=E8nem ents"';
$pdo->query("Update Test set data =3D'" . $data . "';");
?>
=20
If i execute this scripts from php cli the result will be :=20
/enabled=3Dboolean:true;/description=3Dstring:"=E9v=E8nement s"
=20
If i execute this scripts from apache server the result will be :=20
/enabled=3Dboolean?;/description=3Dstring:"=E9v=E8nements"
=20
It=92s seem that is the =E9 and =E8 character that make this strange =
change
because if i remove this character the result will be :
/enabled=3Dboolean:true;/description=3Dstring:"vnements"
=20
I don=92t found were the charset is converted or where is the problems =
=85.
=20
For information php cli and apache module are build with the same =
options.
=20
I need help please.
=20
I hope i ask my question in the good mailing list.
=20
See You Soon.
=20
Nicolas.
=20
------=_NextPart_000_011B_01C6414C.F93974D0--