$dbh->{pg_enable_utf8}=1; $dbh->do("SET client_encoding TO 'UTF8'") or die "could not set the client_encoding to UTF8 for $db_host $!"; #### DBD::Pg::db pg_endcopy failed: ERROR: character 0xd7a4 of encoding "UTF8" has no equivalent in "LATIN1" DBD::Pg::db pg_endcopy failed: ERROR: character 0xe4bea1 of encoding "UTF8" has no equivalent in "LATIN1"