From: Martin v. Löwis Date: Mon, 5 Aug 2002 01:32:09 +0000 (+0000) Subject: Test whether a Cyrillic text correctly appears in a Unicode literal. X-Git-Tag: v2.3c1~4710 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c561b36a05d8b45ef9ac0ac7571f4a97dc2b42b;p=python Test whether a Cyrillic text correctly appears in a Unicode literal. --- diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py new file mode 100644 index 0000000000..b1ffc033c0 --- /dev/null +++ b/Lib/test/test_pep263.py @@ -0,0 +1,2 @@ +#! -*- coding: koi8-r -*- +assert u"ðÉÔÏÎ".encode("utf-8") == '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'