summaryrefslogtreecommitdiffstats
path: root/videorm.pl
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@ens-lyon.org>2012-02-28 21:43:52 +0100
committerGuilhem Moulin <guilhem.moulin@ens-lyon.org>2012-02-28 21:43:52 +0100
commitc8f9e3aa4ffd44d4cdf750e239325a4295c509cd (patch)
tree3d4a58ff6a94468468fd6e0067f17b3b22df7e72 /videorm.pl
parent0ec5831d64fe108e3f4a7c621fbe872338996616 (diff)
unicode, cont
Diffstat (limited to 'videorm.pl')
-rwxr-xr-xvideorm.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/videorm.pl b/videorm.pl
index 228317d..dceff84 100755
--- a/videorm.pl
+++ b/videorm.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl -w -CADSL
# This program is free software. It comes without any warranty, to the
# extent permitted by applicable law. You can redistribute it and/or
@@ -170,8 +170,6 @@ 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;
-
# Lookup for the file in the videodb database
my $res = $dbh->selectall_arrayref ( "SELECT id FROM $config{prefix}videodata WHERE filename = ?",