|
NAMEDBIx::Class::EncodeColumns - Handle column encodings SYNOPSIS package Artist;
__PACKAGE__->load_components(qw/EncodeColumns Core/);
__PACKAGE__->decode_columns('latin-1');
__PACKAGE__->encode_columns('utf-8');
DESCRIPTIONThis module allows you to handle column encodings METHODSdecode_columns($encoding)Use this function to set the default encoding of all your columns. The data of all columns will be decoded to internal encoding of perl. encode_columns($encoding)Before returning the data form a column, it will be encoded using this encoding type. EXTENDED METHODSget_columnget_columnsstore_columnAUTHORSascha Kiefer <esskar@cpan.org> COPYRIGHTThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|