]> granicus.if.org Git - python/commitdiff
Test whether a Cyrillic text correctly appears in a Unicode literal.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 5 Aug 2002 01:32:09 +0000 (01:32 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 5 Aug 2002 01:32:09 +0000 (01:32 +0000)
Lib/test/test_pep263.py [new file with mode: 0644]

diff --git a/Lib/test/test_pep263.py b/Lib/test/test_pep263.py
new file mode 100644 (file)
index 0000000..b1ffc03
--- /dev/null
@@ -0,0 +1,2 @@
+#! -*- coding: koi8-r -*-
+assert u"ðÉÔÏÎ".encode("utf-8") == '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'