Does anyone know how to bind a collation to the parameters when using PDO prepared statements?
The server default gets applied to string literals which over-ride my database defaults. Now I can solve this when it is straight sql but can't get it to work with the parameter array literals when using pdo->prepare.
So of course I get a PDO exception for mixed collations and nothing works. Don't want to have to go to latin1 just because of this - wanted to use utf8 but the host server default is always latin1.