human
Stdout encoding in python
assistant
Here is some code to encode unicode string '\xc5\xc4\xd6' to utf-8 code

print('\xc5\xc4\xd6'.encode('UTF8'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.