File: pyedit-products/unzipped/docetc/examples/RunCode-examples/unicode-streams.py

# Test Unicode in the output stream
# Python source defaults to UTF-8 encoding for text here (proxy frozen or not)

frigcal_cheats = """
✓ ☓ ☑ ☒
☀ ☼ ☉
★ ☆
☂ ☔
♞
☯
☢
❄
⌛ ⧖ ⧗ ⌚ ⏰
☎ ☏
⇨
♥ ♡
☕
☠
☁
雀
✈
► ▷
☛ ☚
⇨ ⇦
☞ ☜
☝ ☟
☺ ☹ ☻ 
♪ ♫
⚑ ⚐
⚔ ⚕ ☤ ⚖ ⚛ ⚒
€ ₤
† ‡ •
☮

important event
重要事件
Важное событие
重大な出来事
événement important
mikilvægur viðburður
महत्वपूर्ण घटना
evento importante
중요한 사건
wichtige Veranstaltung
tärkeä tapahtuma
ਮਹੱਤਵਪੂਰਨ ਘਟਨਾ
"""

print('Non-ASCII Unicode lines follow...')
print(frigcal_cheats)
print('...Fine')



[Home page] Books Code Blog Python Author Training Search ©M.Lutz