|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-05-10 09:28 UTC] uw@php.net
-Status: Open
+Status: Feedback
[2011-05-10 09:28 UTC] uw@php.net
[2011-05-10 09:28 UTC] uw@php.net
[2011-05-10 14:00 UTC] will dot skates at ntlworld dot com
-Status: Feedback
+Status: Closed
[2011-05-10 14:00 UTC] will dot skates at ntlworld dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 08:00:01 2025 UTC |
Description: ------------ I'm currently developing a piece of software system for a Russian client. When set names is set as utf8 in both execute and as one of the options in the PDO construct, no results are returned when a utf8 string is bound using bindValue(); Test script: --------------- $stmt = $pdo->prepare('SELECT * FROM table WHERE column LIKE ?'); $stmt->bindValue(1,\'%привет%\'); $stmt->execute(); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); var_dump($result); Expected result: ---------------- array(1) { "column" => "привет" } Actual result: -------------- array(0){}