On 4/12/06 13:03, "Peter J. Holzer" <[EMAIL PROTECTED]> wrote:
> This just cost me a few hours of debugging, so I am posting it to spare
> others:
>
> The mysql client character set can be set to UTF-8 with:
>
> $dbh->do("set character set utf8");
> $dbh->do("set names 'utf8'");
How does the result differ from simply using set names by itself?
> That's in the manual. What is not in the manual is that the order is
> crucial. If you swap them, it does not work, and you will get very
> strange results.
>
> hp