On Sun, Jan 12, 2020 at 9:32 PM Eryk Sun <[email protected]> wrote: > > In both of the above cases, what I'd prefer is for UTF-8 mode to take > precedence over legacy modes, i.e. to disable > config->legacy_windows_fs_encoding and config->legacy_windows_stdio in > the startup configuration. >
UTF-8 mode shouldn't take precedence over legacy FS encoding. Mercurial uses legacy encoding for file paths. They use sys._enablelegacywindowsfsencoding() on Windows. https://www.mercurial-scm.org/repo/hg/rev/8d5489b048b7 Since Mercurial uses binary file almost always, I think the UTF-8 mode doesn't break Mercurial. But I'm not sure. (Note that Mercurial on Python 3 on Windows is still beta.) Regards, -- Inada Naoki <[email protected]> _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/6DK4FJIPACW7ELGFLT5I3QFHWYFWEWYJ/ Code of Conduct: http://python.org/psf/codeofconduct/
