Contact: aviboots(AT)netvision.net.il
41,397 questions
53,943 answers
573 users
s = "AbcüJdfhǟy" e = s.encode("cp1252", "backslashreplace") print(e) ''' run: b'Abc\xfcJdfh\\u01dfy' '''