FYI, an extremely basic command line to encode passwords:

> node -e 'process.stdin.on("data", _ => {console.log(encodeURIComponent(_.toString().trim())); process.exit()}); process.stdout.write("Password: ")' Password: foo@bar foo%40bar