note 85897 added to pdo.lobs
| From: | knl at bitflop dot com | Date: | Tue, 23 Sep 2008 19:07:10 +0000 |
| Subject: | note 85897 added to pdo.lobs | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144644@lists.php.net to get a copy of this message | ||
I spend a lot of time trying to get this to work, but no matter what I did PDO corrupted my data.
I finally discovered that I had been using:
$pdo->exec('SET CHARACTER SET utf8');
in the TRY part of my connection script.
This off course doesn't work when you feed binary input to PDO using the parameter lob.
----
Server IP: 195.184.96.15
Probable Submitter: 85.233.228.239
----
Manual Page -- http://www.php.net/manual/en/pdo.lobs.php
Edit -- https://master.php.net/note/edit/85897
Del: integrated -- https://master.php.net/note/delete/85897/integrated
Del: useless -- https://master.php.net/note/delete/85897/useless
Del: bad code -- https://master.php.net/note/delete/85897/bad+code
Del: spam -- https://master.php.net/note/delete/85897/spam
Del: non-english -- https://master.php.net/note/delete/85897/non-english
Del: in docs -- https://master.php.net/note/delete/85897/in+docs
Del: other reasons-- https://master.php.net/note/delete/85897
Reject -- https://master.php.net/note/reject/85897
Search -- https://master.php.net/manage/user-notes.php