$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 $!";