So far, only the interactive mode of trac-admin correctly handled non-ascii input.
When parameteres are given to `trac-admin` on the command line, it is not correct to use `sys.stdin.encoding`, as `sys.argv` strings are encoded using the locale encoding (`local.getpreferredencoding()`).