In the past I used to open a file after converting it with
iconv -f cp1256 -t utf8 -c Windows.txt > Unix.txt
But this needs another step in the process. It is possible (and very easy) to do this directlt in Python.
And thats is !!!
Of course I am using Python 3 - if you are stuck in Python 2- then it is time to use .decode