diff --git a/Lib/email/Utils.py b/Lib/email/Utils.py index 2b8b94fec49..a409e16e916 100644 --- a/Lib/email/Utils.py +++ b/Lib/email/Utils.py @@ -280,7 +280,7 @@ def decode_rfc2231(s): import urllib parts = s.split("'", 2) if len(parts) == 1: - return None, None, s + return None, None, urllib.unquote(s) charset, language, s = parts return charset, language, urllib.unquote(s)