circuitpython/tests/unicode/unicode_repr.py

9 lines
125 B
Python

# ¥ is 1 byte wide
# Πis 2 bytes wide
# 😅 is 4 bytes wide
a = "hello¥Œ😅.txt\n\r\t'\"\\"
print(a)
print(repr(a))