NAME
DBIx::Class::ForceUTF8 - Force UTF8 (Unicode) flag on columns
SYNOPSIS
package Artist;
__PACKAGE__->load_components(qw/ForceUTF8 Core/);
# then belows return strings with utf8 flag
$artist->name;
$artist->get_column('description');
# with DBIx::Class::Schema::Loader
package My::Schema;
use base qw/DBIx::Class::Schema::Loader/;
__PACKAGE__->loader_options(
components => [qw/ForceUTF8/],
);
DESCRIPTION
DBIx::Class::ForceUTF8 allows you to get columns data that have Unicode flag without specifying a column name. Best used with DBIx::Class::Schema::Loader.
SEE ALSO
DBIx::Class::Schema::Loader, DBIx::Class::UTF8Columns.
EXTENDED METHODS
get_column
get_columns
store_column
AUTHOR
Takahiro Horikawa <horikawa.takahiro@gmail.com>
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.