I am trying to print bits of of UTf-8 character. In that case an emoji.According to the the following video: https://www.youtube.com/watch?v=ut74oHojxqothe following code script.py
(both from the script edited with vim and the python command line from the terminal
s = '👍'print(len(s))print(s[0])
should give the following output:
$ python script.py 4'xf0'
However it gives me
$ python script.py 1👍