[Dbix-class] Per column filter

Pedro Melo melo at simplicidade.org
Fri Jun 19 12:36:32 GMT 2009


Hi,

On Jun 18, 2009, at 7:52 PM, Daniel Ruoso wrote:

> Em Qui, 2009-06-18 às 13:18 +0100, Pedro Melo escreveu:
>> I'm wrapping DBIx::Class over a legacy database that uses the
>> iso-8859-1 charset internally. My app expects all perl strings as  
>> utf8.
>
> I think you could consider changing the encoding of the DB connection,
> before trying to do that as inflate/deflate. It's the responsability  
> of
> the driver to get the strings correct inside Perl.

Not sure if the driver will recode from iso-8859-1 into UTF8 but I'll  
try.

Thanks,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo at simplicidade.org
Use XMPP!





More information about the DBIx-Class mailing list