I have some texts like bellow:
%d8%b3%d9%88%d8%a6%ab%8c%da%86
I have tried to change it Arabic as bellow:
import binascii
print(binascii.unhexlify(''.join('%d8%b3%d9%88%d8%a6%ab%8c%da%86'.split('%'))).decode('ISO-8859-1').encode('utf8').decode('mac-arabic'))
But I was not successful and the result is :
أ»آ٣أôآàأ»آ&آ+آ«أöآÜ