Package: devscripts
Version: 2.9.20
Severity: normal
Tags: patch l10n

Since uploader names are supposed to be in UTF-8, it would be useful if
who-uploads would convert them to the local chararacter encoding on
output.  Attached is a patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages devscripts depends on:
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  dpkg-dev                      1.13.21    package building tools for Debian
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 
ii  sed                           4.1.5-1    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.5.10     Gives a fake root environment

-- no debconf information
--- /usr/bin/who-uploads        2006-05-17 08:28:18.000000000 +0200
+++ ./who-uploads       2006-08-27 08:52:21.000000000 +0200
@@ -205,7 +205,7 @@
                   awk  -F: '/@debian\.org>/ { a = $10; exit} /^pub/ { a = $10 
} END { print a }' )
        if [ -z "$UPLOADER" ]; then UPLOADER="<unrecognised public key>"; fi
 
-       echo "$VERSION to $DISTRO: $UPLOADER"
+       echo "$VERSION to $DISTRO: $UPLOADER" | iconv -c -f UTF-8 -t $(locale 
charmap)
 
        count=$(($count + 1))
        [ $count -eq $MAXUPLOADS ] && break

Reply via email to