aa = '<P> \xbf\xf9\xbb~\xad\xec\xa6]:</BODY></HTML>' datd =open('./a.html','a',encoding='ISO-8859-1') print(aa,file=datd) datd.close() bb = aa.encoding='utf-8' print(bb)
[此贴子已经被作者于2022-9-24 16:32编辑过]