fwiw, the `getopts`, `encoding` here is referring to `stdin/out/err` and not the command-line arguments, which is why it doesn't apply.