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