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))