f1= open('/path/name','r', encoding='UTF-8')
f1= open('/path/name','r', encoding='GBK')指定一下编码格式估计就好了
f1= open('/path/name','rb+')试试,应该是读不了2进制报错的