From 9c5567addfe8071512c8c37508a4381a05ec0e4c Mon Sep 17 00:00:00 2001 From: revsuine Date: Tue, 5 Nov 2024 17:14:44 +0000 Subject: [PATCH] no longer use utf-8 encoding bc it causes encoding issues (waow) with some emails? --- gpgmymail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpgmymail b/gpgmymail index f0f1f5b..0be804b 100755 --- a/gpgmymail +++ b/gpgmymail @@ -69,7 +69,7 @@ def encrypt( return message.as_string() gpg = gnupg.GPG() - gpg.encoding = 'utf-8' # default is latin-1 which fails w some unicode chars + # gpg.encoding = 'utf-8' # default is latin-1 which fails w some unicode chars encrypted_content = gpg.encrypt(message.as_string(), recipients, armor=True) if not encrypted_content: raise ValueError(encrypted_content.status)