STINNER Victor <[email protected]> added the comment: "no byte-oriented representation of the command line is readily available."
Why not using the following recipe? encoding = locale.getpreferredencoding() sys.argvb = [arg.decode(encoding, 'surrogateescape') for arg in argv] ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue8776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
