Index: /home/pere/src/debiancvs/debiancddsvn/cdd/devtools/cdd-gen-control
===================================================================
--- /home/pere/src/debiancvs/debiancddsvn/cdd/devtools/cdd-gen-control (revision 948)
+++ /home/pere/src/debiancvs/debiancddsvn/cdd/devtools/cdd-gen-control (working copy)
@@ -425,7 +425,7 @@
sub load_task {
my ($taskfile, $curpkg) = @_;
- open(TASKFILE, "<$taskfile") || die "Unable to open $taskfile";
+ open(TASKFILE, "<:utf8", $taskfile") || die "Unable to open $taskfile";
my $line;
$taskinfo{$curpkg} = ();
@@ -600,7 +600,7 @@
}
# read taskcontrolfile and find priorities
print STDERR "Reading task control file.\n" if $debug;
- open(PRIO,$taskcontrolfile) || die("Unable to read task control file.");
+ open(PRIO,"<:utf8", $taskcontrolfile) || die("Unable to read task control file.");
while (<PRIO>) {
chomp ;
if ( $_=~/^$prio\s*:\s*([-\w]+)/) {