From 4c561b36a05d8b45ef9ac0ac7571f4a97dc2b42b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 5 Aug 2002 01:32:09 +0000 Subject: [PATCH] Test whether a Cyrillic text correctly appears in a Unicode literal. --- Lib/test/test_pep263.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Lib/test/test_pep263.py 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' -- 2.50.0