New submission from Steve Dower: I've attached my first pass at a patch to change the file system encoding on Windows to UTF-8 and remove use of the *A APIs.
It would be trivial to change the encoding from UTF-8 back to CP_ACP and change the error mode if that's what we decide is better, but my vote is strongly for an encoding that never drops characters when converted from UTF-16. Discussion is still ongoing on python-ideas, so let's argue about yes/no and utf-8/mbcs there and just discuss the patch here. ---------- assignee: steve.dower components: Windows files: fsencoding.diff keywords: patch messages: 272899 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal stage: patch review status: open title: Change sys.getfilesystemencoding() on Windows to UTF-8 type: behavior versions: Python 3.6 Added file: http://bugs.python.org/file44130/fsencoding.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27781> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com