We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa2fcf commit 3099b9eCopy full SHA for 3099b9e
1 file changed
Lib/test/test_email/test__header_value_parser.py
@@ -3084,6 +3084,14 @@ def test_ews_combined_before_wrap(self):
3084
"mich. And that's\n"
3085
" all I'm sayin.\n")
3086
3087
+ def test_unicode_near_end_of_line(self):
3088
+ self._test(parser.get_unstructured("Mein Kaktus ist sehr attraktiv. Er "
3089
+ "hat viele Stacheln und liebt "
3090
+ "übriggebliebenes Eigelb."),
3091
+ "Mein Kaktus ist sehr attraktiv. Er hat viele "
3092
+ "Stacheln und liebt \n"
3093
+ " =?utf-8?q?=C3=BCbriggebliebenes?= Eigelb.\n")
3094
+
3095
def test_unicode_after_unknown_not_combined(self):
3096
self._test(parser.get_unstructured("=?unknown-8bit?q?=A4?=\xa4"),
3097
"=?unknown-8bit?q?=A4?==?utf-8?q?=C2=A4?=\n")
0 commit comments