如何在 python 中解码这个奇怪的编码?

How to decode this wierd encoding in python?

我正在与一家移动运营商合作API。当我收到波斯语的消息时,它 returns 像这样的奇怪编码。

062a0633062a

这个字符串在波斯语中代表 تست。我知道每四个字符是波斯字符的 Unicode 表示。

如何解码这种编码?

>>> binascii.unhexlify('062a0633062a').decode('utf-16be')
'تست'