Python Forum
FTP with special character in password
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FTP with special character in password
#6
How about normalizing your password string first?
import unicodedata
norm_password = unicodedata.normalize('NFKD', password)
Edit: u2019 is a right apostrophe. Maybe you need a different one? See: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html i.e. "\u27"
Reply


Messages In This Thread
FTP with special character in password - by amatta - Apr-01-2020, 08:30 PM
RE: FTP with special character in password - by BrendanD - Apr-02-2020, 06:38 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020