Is it too unreasonable to keep the byte strings we get from the OS as byte strings in Python (since we're not sure about their encoding) and offer functions for getting strings?
sys.argv could be of type bytes and sys.arguments (or whatever) could be a function taking an encoding parameter (which defaults to UTF-8) and returning strings. Of course that's backwards incompatible and I'm not sure if it's too late for something like this now. - Hagen _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
