tests/unicode.py | raw changeset files shortlog |
1.1 --- a/tests/unicode.py Sat Feb 04 00:12:06 2017 +0100 1.2 +++ b/tests/unicode.py Sat Feb 04 15:35:58 2017 +0100 1.3 @@ -9,6 +9,12 @@ 1.4 print s # ÆØÅ 1.5 print len(s) # 3 1.6 1.7 +s1 = b"ÆØÅ" \ 1.8 + "ÆØÅ" 1.9 +print "ISO-8859-15 values:" 1.10 +print s1 # ÆØÅÆØÅ 1.11 +print len(s1) # 6 1.12 + 1.13 s2 = b"\xe6\xf8\xe5" 1.14 print "ISO-8859-15 values:" 1.15 print s2 # æøå