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