import chardet

ch = b"MART\xc3\x8dNEZ"
print(f"{ch}")


nch = chardet.detect(ch)
print(nch)

ncc = ch.decode("utf-8")

print(f"{ncc}")

print(f"{ncc.encode('utf-8')}")
print(f"{ncc.encode('latin-1')}")
print(f"{ncc.encode('iso-8859-1')}")


