Re: Encoding for tables in DBD::File

2010-06-01 Thread H.Merijn Brand
On Tue, 01 Jun 2010 11:16:43 +, Jens Rehsack wrote: > On 06/01/10 10:42, Tim Bunce wrote: > > On Sun, May 30, 2010 at 12:33:44PM +0200, H.Merijn Brand wrote: > >> In DBI-1.611 I introduced f_encoding for tables. That works great. > >> > >> In 1.611, f_encoding was evaluated from the database

Re: Encoding for tables in DBD::File

2010-06-01 Thread Jens Rehsack
On 06/01/10 10:42, Tim Bunce wrote: On Sun, May 30, 2010 at 12:33:44PM +0200, H.Merijn Brand wrote: In DBI-1.611 I introduced f_encoding for tables. That works great. In 1.611, f_encoding was evaluated from the database handle each time a table (file) was opened, so my $dbh = DBI->connect (

Re: Encoding for tables in DBD::File

2010-06-01 Thread Tim Bunce
On Sun, May 30, 2010 at 12:33:44PM +0200, H.Merijn Brand wrote: > In DBI-1.611 I introduced f_encoding for tables. That works great. > > In 1.611, f_encoding was evaluated from the database handle each time a > table (file) was opened, so > > my $dbh = DBI->connect ("dbi:File:"); > > $dbh->{

Encoding for tables in DBD::File

2010-05-30 Thread H.Merijn Brand
In DBI-1.611 I introduced f_encoding for tables. That works great. In 1.611, f_encoding was evaluated from the database handle each time a table (file) was opened, so my $dbh = DBI->connect ("dbi:File:"); $dbh->{f_encoding} = undef; # raw mode my $sta = $dbh->prepare ("select * from foo");