Terry Reedy <tjreedy <at> udel.edu> writes: > > If the current guess is based on a mistaken assumption -- that it is > giving the user what the user asked for -- it might be reconsidered. I > personally would prefer that the default file encoding for Python 3 be > utf-8 on any machine my code runs on unless *I* or the *user*, rather > than some anonymous third party, ask otherwise. That would make files > guaranteed portable unless asked to not be.
Why do you think utf-8 is "guaranteed portable" and other encodings are not? All encodings are portable, the issue at hand is to select the one which will be expected by other tools. If this was only about Python then, yes, we could happily settle on utf-8 as a default for all systems. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com