Re: [CDBI] [Repost] Set utf8 character set on class connection?

[prev] [thread] [next] [Date index for 2006/01/09]

From: Perrin Harkins
Subject: Re: [CDBI] [Repost] Set utf8 character set on class connection?
Date: 18:56 on 09 Jan 2006
On Sun, 2006-01-08 at 22:49 +0100, Birgit Kellner wrote:
> Rewriting the script for Class::DBI, I've now defined this class 
> connection:
> ILKB::DBI->connection("dbi:mysql:ilkb_test",'$usr','$pwd');
> 
> But how do I set the character set on this connection?

If you switch to overriding db_Main and making the connection yourself,
you can run the SQL to set the character set at connection time.  There
are examples of overriding db_Main on the wiki.

- Perrin


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

Re: [CDBI] [Repost] Set utf8 character set on class connection?
Perrin Harkins 18:56 on 09 Jan 2006

Generated at 01:21 on 10 Jan 2006 by mariachi v0.52