What is this hexadecimal in the utf16 format?
What is this hexadecimal in the utf16 format? Question: print(bytes(‘ba’, ‘utf-16′)) Result : b’xffxfebx00ax00’ I understand utf-16 means every character will take 16 bits means 00000000 00000000 in binary and i understand there are 16 bits here x00a means x00 = 00000000 and a = 01000001 so both gives x00a it is clear to my …