menu_book Course Curriculum (Character Encoding & Unicode) expand_more
Unicode Foundations
HTML & Web Encoding
Strings & Storage
UTF-8 byte sequences
Learn UTF-8 byte sequences in Character Encoding & Unicode with a focused explanation, a topic-specific example, and a mastery check.
12 min read
•
Beginner
encoding-002.txt
text
text='€'
raw=text.encode('utf-8')
print(list(raw), raw.hex(), raw.decode('utf-8'))
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content