File size: 272 Bytes
6440752
 
 
 
 
 
 
1
2
3
4
5
6
7
8
# Original text with incorrect encoding
text = "Itâ\x80\x99s the AIâ\x80\x99s fault, not mine: Mind perception increases blame attribution to AI"

# Decode as 'latin1' and re-encode as 'utf-8'
fixed_text = text.encode('latin1').decode('utf-8')

print(fixed_text)