5.6. Encoding UTF-8

>>> text = 'cześć'
>>> text.encode()
b'cze\xc5\x9b\xc4\x87'