I am using python 2.7 and need to decode a hexadecimal string into a unicode string. In php everything is just doing the following:
$line=hex2bin($line);
$finish=iconv("UCS-2BE","UTF-8",$nline);
hexadecimal string for example 000A0033002004200430043404300440000A003400200417043D0430043A043E043C0441044204320430000A00350020041C04430437044B043A0430000A00380020041504490435should be
3
4
5
8
How to do this in python?
Grous source
share