From: Andrew Engelbrecht Date: Sun, 19 Jul 2015 04:46:45 +0000 (-0400) Subject: fixed potential string decoding bug X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=80954c35ff68c23ea985b43127c5174c88b6adea;p=edward.git fixed potential string decoding bug --- diff --git a/edward-bot b/edward-bot index a729830..e7163bb 100755 --- a/edward-bot +++ b/edward-bot @@ -197,7 +197,7 @@ def decrypt_chunk (gpg_chunk): sigs = gpgme_ctx.decrypt_verify(chunk_b, plain_b) - plaintext = plain_b.getvalue().decode('ASCII') + plaintext = plain_b.getvalue().decode('UTF-8') return (plaintext, sigs)