Re: UTF-8 flags (again)

2004-09-08 Thread David Wheeler
On Sep 8, 2004, at 4:45 AM, Tim Bunce wrote: I was thinking of doing at least 0 on that list for DBI 1.44. I'd especially like to do $dbh-{SetUTF8} = 2; And be done with it. I'll take a look. Patches welcome, of course! Hey, if I knew any C...I can paste these from Encode.xs, at least:

Re: UTF-8 flags (again)

2004-09-08 Thread Tim Bunce
On Wed, Sep 08, 2004 at 09:15:36AM -0700, David Wheeler wrote: On Sep 8, 2004, at 4:45 AM, Tim Bunce wrote: I was thinking of doing at least 0 on that list for DBI 1.44. I'd especially like to do $dbh-{SetUTF8} = 2; And be done with it. I'll take a look. Patches welcome, of

Re: UTF-8 flags (again)

2004-09-08 Thread David Wheeler
On Sep 8, 2004, at 12:58 PM, Tim Bunce wrote: That's the trivial bit :) The fiddly bit is handling the SetUTF8 attribute (and corresponding bit flags to make it fast enough). But thanks anyway :) Ah well, sorry I can't be more help... Regards, David

Re: UTF-8 flags (again)

2004-08-08 Thread Tim Bunce
On Sun, Aug 08, 2004 at 06:15:39PM +0100, Matt Sergeant wrote: On 8 Aug 2004, at 17:35, David Wheeler wrote: On Aug 8, 2004, at 9:14 AM, Matt Sergeant wrote: i.e. for every fetch call, you need to do: SvUTF8_off(AvARRAY(av)[i]); Now, people using your DBD can decide to upgrade the