Author: adam-guest
Date: 2008-04-07 09:01:16 +0000 (Mon, 07 Apr 2008)
New Revision: 1283

Modified:
   trunk/debian/changelog
   trunk/scripts/debchange.pl
Log:
  + Correctly handle UTF-8 maintainer / uploaders (Closes: #474685)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-04-07 08:34:45 UTC (rev 1282)
+++ trunk/debian/changelog      2008-04-07 09:01:16 UTC (rev 1283)
@@ -16,6 +16,7 @@
       by the current user
     + Fix uninitialised variable warning if Uploaders is empty
       (Closes: #474687)
+    + Correctly handle UTF-8 maintainer / uploaders (Closes: #474685)
   * debian/control:
     + Move devscripts-el back to Suggests as it doesn't fit the definition
       of something we should be Recommending

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2008-04-07 08:34:45 UTC (rev 1282)
+++ trunk/scripts/debchange.pl  2008-04-07 09:01:16 UTC (rev 1283)
@@ -678,8 +678,8 @@
 
        my $parser = new Parse::DebControl;
        my $deb822 = $parser->parse_file('debian/control', { });
-       my $uploader = $deb822->[0]->{'Uploaders'} || '';
-       my $maintainer = $deb822->[0]->{'Maintainer'};
+       my $uploader = decode_utf8($deb822->[0]->{'Uploaders'}) || '';
+       my $maintainer = decode_utf8($deb822->[0]->{'Maintainer'});
        my @uploaders = split(/,\s+/, $uploader);
 
        my $packager = "$MAINTAINER <$EMAIL>";



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to