chars = '\\u4132'.encode('utf-16be')
chars
chars = bytes('\\u4132', 'utf-16be')
chars
chars[0]
'%x' % chars[0]
hex(chars[0])
[('%x' % c) for c in chars]
[hex(c) for c in chars]
getting bytes from unicode string in python