circuitpython/tests/unicode/unicode_repr.py
Scott Shawcroft 11f1c42bb5
Turn on unicode for FATFS
This also tweaks the repr for unicode strings to only escape a few
utf-8 code points. This makes emoji show in os.listdir() for
example.

Also, enable exfat support on full builds.

Fixes #5146
2021-08-17 17:41:59 -07:00

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