On 9/10/06, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote: > Here is a counter-proposal. > > There is a variable sys.default_encoding. It's used by file opening > functions when the encoding is not specified explicitly, among others. > Its initial value is set in site.py with a site-specific algorithm.
This doesn't seem to allow guessing based on the file's contents. That seems intentional from your part, but I believe it makes for way too many disappointing user experiences. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ 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
