summaryrefslogtreecommitdiffstats
path: root/videodb-check.pl
diff options
context:
space:
mode:
Diffstat (limited to 'videodb-check.pl')
-rwxr-xr-xvideodb-check.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/videodb-check.pl b/videodb-check.pl
index d998af4..dae4cdb 100755
--- a/videodb-check.pl
+++ b/videodb-check.pl
@@ -145,6 +145,7 @@ if (defined $config{dbi_misc}) {
}
my $dbh = DBI->connect($dsn, $config{user}, $config{password})
or die "Can't connect do database\n";
+$dbh->do( "SET NAMES UTF8" ) or die "Error: Can't set names to UTF-8.\n";
################################################################################