From cf257a92ecde918e8d72c20ef8ccca8fefb1b273 Mon Sep 17 00:00:00 2001 From: Son NK Date: Fri, 13 Mar 2020 12:54:52 +0100 Subject: [PATCH] use utf-8 for PGP --- app/pgp_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/pgp_utils.py b/app/pgp_utils.py index 5b661454..16b22891 100644 --- a/app/pgp_utils.py +++ b/app/pgp_utils.py @@ -3,6 +3,7 @@ import gnupg from app.config import GNUPGHOME gpg = gnupg.GPG(gnupghome=GNUPGHOME) +gpg.encoding = "utf-8" class PGPException(Exception):