On Wed, 9 Jul 2008, Petter Reinholdtsen wrote:
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]+)/) {
Well, that's the Perl code of cdd-gen-control which does not show the problem
because it is ignoring the descriptions. But I'll have a look whether something
similar is available in Python for webtools/cddtasktools.py
Not quite sure, but suspect we should show all packages listed in the
educational tasks, even the "hidden" ones.
OK, fine. I also tend slightly to this option.
Thanks for your input
Andreas.
--
http://fam-tille.de
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]