[Pgp-tools-commit] r603 - in trunk: debian gpgparticipants

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Wed May 7 11:40:57 UTC 2014


Author: guilhem-guest
Date: 2014-05-07 11:40:57 +0000 (Wed, 07 May 2014)
New Revision: 603

Modified:
   trunk/debian/changelog
   trunk/gpgparticipants/gpgparticipants
Log:
Use gpg's --display-charset to force the output to be UTF-8 encoded.

As the C.UTF-8 locale isn't installed on all platforms.

Patch from Stefan Huber.  Closes: #747296.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2014-04-23 10:30:32 UTC (rev 602)
+++ trunk/debian/changelog	2014-05-07 11:40:57 UTC (rev 603)
@@ -9,6 +9,9 @@
   * gpgparticipants:
     + Escape hyphen-minuses (-) in the documentation, as groff may interpret
       them as hyphens (U+2010).
+    + Use gpg's --display-charset to force the output to be UTF-8 encoded, as
+      the C.UTF-8 locale isn't installed on all platforms. Patch from Stefan
+      Huber. (Closes: #747296).
   * gpgwrap:
     + Import the default Debian CPPFLAGS defined by dpkg-buildflags, which
       makes lintian stop emitting the 'hardening-no-fortify-functions' tag.

Modified: trunk/gpgparticipants/gpgparticipants
===================================================================
--- trunk/gpgparticipants/gpgparticipants	2014-04-23 10:30:32 UTC (rev 602)
+++ trunk/gpgparticipants/gpgparticipants	2014-05-07 11:40:57 UTC (rev 603)
@@ -149,7 +149,7 @@
 while read i; do
     k=$(($k+1));
     printf "\n%03d  [ ] Fingerprint OK        [ ] ID OK\n" $k;
-	LC_CTYPE=C.UTF-8 gpg $options --fingerprint --list-keys -- $i \
+	gpg $options --display-charset utf-8 --fingerprint --list-keys -- $i \
 		| grep -ve "^sub" -e '^uid *\[jpeg image of size ';
 	echo "_______________________________________________________________________________"
 done




More information about the Pgp-tools-commit mailing list