http://www.perlmonks.org?node_id=520690


in reply to Handle UTF-8 with DBI

For some DBD drivers, utf8 can be enabled from the driver itself. For example, DBD::Pg has the internal function pg_enable_utf8( boolean) to enable the utf8 flag for strings. (According to the Pg manual, this also requires perl 5.8 and later).