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